Self-test questions

Q1. The goal of the signaling server is to connect two users on separate networks so that they can make a peer connection between them. True or False?

Q2. What technology does WebSockets use to make a bidirectional connection between client and server?

  1. UDP
  2. TCP
  3. ICE
  4. STUN

Q3. Using JSON for client-to-server messages gives us which of the following benefits?

  1. String-based packet data for easy transport
  2. Complex structure definition inside messages
  3. Widely supported encoding and decoding methods
  4. All of the above

Q4. In signaling, the order of operations is offer, answer, then sending candidates back and forth until a connection is made. True or False?

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.