WebRTC Signaling — Vocabulary and Language
5 exercises — 5 exercises practising SDP offer/answer exchange, signaling server roles, perfect negotiation, and WebRTC signaling vocabulary.
0 / 5 completed
1 / 5
A developer asks: "What exactly does the signaling server do in WebRTC?" Which description is most accurate?
The signaling server is a "dumb relay" — it forwards opaque blobs of SDP and ICE data without understanding their content. WebRTC deliberately leaves signaling unspecified.
The WebRTC specification describes what needs to be exchanged (SDP and ICE candidates) but not HOW — there is no required signaling protocol. Teams use WebSocket (most common), HTTP long-polling, Firebase Realtime Database, or even copy-paste (useful for manual testing). The signaling server's job: receive an SDP offer from peer A → forward it to peer B → receive ICE candidates from A → forward to B, and vice versa. It doesn't parse, modify, or store these messages. After both peers have exchanged SDP and set up their P2P connection, they may keep the signaling channel open for in-call messages (mute/unmute events, chat), but media never flows through it.
Key vocabulary:
• signaling channel — the application-provided communication channel for SDP and ICE exchange before P2P is established
• out-of-band signaling — signaling via a separate channel (WebSocket) outside the WebRTC P2P connection itself
• signaling protocol agnostic — WebRTC does not specify the signaling protocol; applications choose their own
The WebRTC specification describes what needs to be exchanged (SDP and ICE candidates) but not HOW — there is no required signaling protocol. Teams use WebSocket (most common), HTTP long-polling, Firebase Realtime Database, or even copy-paste (useful for manual testing). The signaling server's job: receive an SDP offer from peer A → forward it to peer B → receive ICE candidates from A → forward to B, and vice versa. It doesn't parse, modify, or store these messages. After both peers have exchanged SDP and set up their P2P connection, they may keep the signaling channel open for in-call messages (mute/unmute events, chat), but media never flows through it.
Key vocabulary:
• signaling channel — the application-provided communication channel for SDP and ICE exchange before P2P is established
• out-of-band signaling — signaling via a separate channel (WebSocket) outside the WebRTC P2P connection itself
• signaling protocol agnostic — WebRTC does not specify the signaling protocol; applications choose their own