June 2024
Beginner to intermediate
268 pages
6h 26m
English
In the previous chapter, you constructed the basic interface for a video-call app. You also explored and wrote a number of placeholder callback functions to prepare the way for triggering and responding to the signaling channel’s events.
In this chapter, you’ll build on that work to enable two peers to set up a WebRTC connection and stream video directly to each other. At first, of course, the two peers will just be you and yourself with two different browser windows opened to the same namespace. To prevent skull-shattering feedback while you test things out, you’ll start off with the audio disabled.
The goal is to to work systematically and get some foundational WebRTC code working as quickly ...
Read now
Unlock full access