Writing WebRTC Clients
A WebRTC client, in its most popular implementation, is an HTML webpage(s) that loads a JavaScript(s). Together, HTML and JavaScript define the GUI and the behavior of the WebRTC client.
Usually the JavaScript part, loaded by the HTML, leverages one or more JavaScript libraries. Those libraries implement the signaling protocol of choice (in our case SIP or VERTO) and its interaction with WebRTC APIs. We have already seen how WebRTC APIs provide for accessing the local computer multimedia hardware (microphone and camera), manage the peer-to-peer streaming of audio and video with the peer, and a bidirectional data channel.
The session signaling protocol will leverage and complement those WebRTC P2P capabilities, so they ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access