Programming WebRTC: Your Work
Chat-App Starter Files
You’ll find the starter files for the basic chat example in the
www/basic-p2p/
directory. As you build along with the book,
you’ll be able to reach that directory at .
Multipeer Starter Files
Once you get to Chapter Six: Managing Multipeer Connections, you’ll work
with the starter peer-to-peer example in www/multipeer/
,
which you’ll revise into a multipeer app over the course of the chapter.
If You Get Stuck...
Working with WebRTC is exciting, but it can be very challenging. Don’t
hesitate at any point to compare your work against the completed
examples in the demos/
directory.
You’ll need to stop your server with Ctrl + C
and then run
npm run start:demos
if you want to poke at the completed
examples in the browser.