Skip to content

Signaling in 60 Seconds

John Jacob edited this page Mar 25, 2018 · 1 revision

The hardest part of WebRTC is finding and establishing a network connection with another computer’s web browser. The "Signaling" or "WebRTC Dance" as it's known.

Imagine you are the two kids with walkie talkies. In order to establish a "Connection" you need to know what frequency your friend will be on and what time they will be in. If you have that little bit of information you can connect and talk all you want.

It's similar with WebRTC. Although both browsers can in theory connect, they is a few important pieces of information that needs to be exchanged. Roughly, this is the process of signaling.

This "Dance" its commonly done through some kind of middle-wear. A separate Node.js server just to handle this data exchange. This project reduces the complexity by leaning on the Real-time magic of action-cable to exchange this data.

Clone this wiki locally