June 2024
Beginner to intermediate
268 pages
6h 26m
English
We’re going to follow almost the same process for working up the multipeer app as we did for the original one-to-one, peer-to-peer app in Chapter 3, Establishing a Peer-to-Peer Connection. You can work from the starter peer-to-peer app for you to work from in www/multipeer/, which will help you see more clearly how a peer-to-peer app becomes a multipeer one.
To ease into things, let’s revisit the $self and $peer objects and prepare them for a multipeer app. By doing this work first, you’ll be able to improve the signaling-channel logic without filling your JavaScript console with a bunch of wacky errors coming off of RTCPeerConnection.
In all of your work with WebRTC so ...
Read now
Unlock full access