June 2024
Beginner to intermediate
268 pages
6h 26m
English
Browsers lack a signaling channel that enables a connection to be negotiated. The editors of the WebRTC specification have gone so far as to avoid requiring any specific signaling technology whatsoever: you have to bring your own. So to prepare the way to establish a WebRTC connection, we need first to select and set up a signaling channel.
A server-based signaling channel is the most convenient option. Even a very basic peer-to-peer application, like the one you’re writing right now, requires both browsers to visit a URL pointing at some server on the web to download the HTML, CSS, and JavaScript necessary to establish and support the call. With a web server already in the mix, any server-side setup for ...
Read now
Unlock full access