Chapter 3. Creating a Basic WebRTC Application
The first step of any WebRTC application is to create an RTCPeerConnection
. Creating a successful RTCPeerConnection
will require an understanding of the inner workings of how a browser creates peer connections. Firstly, in this chapter, we will lay the groundwork to understand the internals of WebRTC. Then we will utilize this knowledge to create a basic WebRTC video chat application.
In this chapter, we will cover the following topics:
- Understanding UDP transport and real-time transfer
- Signaling and negotiating with other users locally
- Finding other users on the Web and NAT traversal
- Creating an
RTCPeerConnection
Understanding UDP transport and real-time transfer
Real-time transfer of data requires a fast ...
Get Learning WebRTC now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.