Skip to content

Instantly share code, notes, and snippets.

Interview Questions

Node.js

Q1: What do you mean by Asynchronous API? ☆☆

Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.

Source: tutorialspoint.com

to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice
//=========== WORKING TURN SERVER ===========
SOME COOL CRAZY TRICKS ABOUT WEBRTC THIS LINK https://github.com/muaz-khan
{
url: 'turn:numb.viagenie.ca',
credential: 'muazkh',
username: 'webrtc@live.com'
},
//========== END OF WORKING TURN SERVER =========
{