上QQ阅读APP看书,第一时间看更新
Chapter 3. Creating a Real-time Video Call
This chapter shows you how to use the MediaStream and RTCPeerConnection APIs to create a working peer-to-peer video chat application between two people. After reading this chapter, you will have a clear understanding of:
- Using a web server to connect two users
- Setting up a signaling server for a peer-to-peer call
- How the caller's browser creates an offer
- How the callee's browser responds with an answer
- Previewing local video streams
- Establishing and presenting remote video streams
- The types of stream processing available
- Extending this into a Chatroulette application