|
|
|
|
|
by SahAssar
2245 days ago
|
|
No, signaling is different from STUN. Signaling is basically pairing together the people who want to communicate so that they can get the info required to connect to each other, STUN is how they find out their public IP:port pairs and TURN is how they can talk over a proxy if direct communication fails. So you always need some form of signaling but that can be over email or even a handwritten note if you prefer, although it is usually done over HTTP/websockets. STUN is required if you are behind some sort of NAT. TURN is required if your NAT does not play well with hole-punching. |
|
Here's a great example: https://jameshfisher.github.io/serverless-webrtc/index.html
Checkout the process in the console! For instance you can do the handshake the same way you'd send someone the URL of the actual thing.