WebRTC & Real-Time Communication
WebRTC API vocabulary: RTCPeerConnection, SDP, ICE candidates, STUN/TURN, simulcast, CRDT for real-time collaboration, and SFU vs. MCU architectures.
- RTCPeerConnection /ɑːr tiː siː ˈpɪər kəˈnɛkʃən/
The core WebRTC API for establishing a peer-to-peer audio/video/data connection between two browsers. Manages ICE gathering, SDP negotiation, DTLS handshake, and SRTP media streams. One RTCPeerConnection per peer.
"Creating a video call: const pc = new RTCPeerConnection(iceServers); localStream.getTracks().forEach(t => pc.addTrack(t, localStream)); const offer = await pc.createOffer(); await pc.setLocalDescription(offer); // send offer to remote via signalling server. The remote peer calls setRemoteDescription(offer), creates an answer, and sends it back. ICE candidates are exchanged in parallel."
- SDP (Session Description Protocol) /ɛs diː ˈpiː/
A format describing a multimedia session: supported codecs, IP addresses, ports, and stream attributes. In WebRTC, the offer/answer model uses SDP: the initiator creates an SDP offer (what it can send/receive), the remote peer creates an SDP answer (what it accepts).
"An SDP offer contains sections for each media type: audio (a=sendrecv, supported codecs: opus/48000), video (a=sendrecv, codecs: VP8/90000, H264/90000), data channel. The answer mirrors the offer, selecting compatible codecs. SDP is verbose text — developers rarely parse it directly, but understanding its structure helps debug codec negotiation failures."
- ICE (Interactive Connectivity Establishment) /aɪs/
The WebRTC framework for finding the best network path between peers. Gathers candidates: host (local network), server-reflexive (public IP via STUN), relayed (TURN server). Runs connectivity checks, selects the best working pair.
"ICE gathering discovers three candidate types: host candidate (192.168.1.5:50000 — local LAN), server-reflexive candidate (203.0.113.45:50000 — public IP via STUN), relay candidate (via TURN server). If peers are on the same LAN, they connect via host candidates. If behind symmetric NAT (common in corporate networks), the TURN relay is the only option."
- STUN / TURN Server /stʌn tɜːn ˈsɜːvər/
STUN (Session Traversal Utilities for NAT): tells a client its public IP and port as seen from the internet — cheap, stateless. TURN (Traversal Using Relays around NAT): a relay server that forwards traffic when direct P2P is impossible (symmetric NAT). TURN is expensive (all media flows through it).
"Our WebRTC deployment uses Google's public STUN server for IP discovery and our own Coturn TURN server for relay fallback. 70% of calls use direct P2P (STUN sufficient). 30% require TURN (corporate networks with strict firewalls). TURN bandwidth cost is our biggest WebRTC infrastructure expense — we scale TURN servers in regions close to our user base."
- Simulcast /ˈsɪmjəlkɑːst/
Sending multiple quality layers of the same video stream simultaneously from the sender. An SFU (Selective Forwarding Unit) forwards the appropriate quality layer to each receiver based on their bandwidth. Replaces per-receiver encoding on the sender.
"In our video conferencing app, each participant sends three simulcast layers: 1080p, 720p, 360p. The SFU forwards 1080p to participants on fast connections and 360p to mobile users on cellular. Without simulcast, the sender would need to encode separately for each receiver — CPU-prohibitive for the browser. Simulcast shifts layer selection to the SFU."
- SFU (Selective Forwarding Unit) vs. MCU /ɛs ɛf juː/
SFU: a media server that forwards incoming streams to all receivers without decoding/encoding. Scalable, low latency, but each receiver downloads multiple streams. MCU (Multipoint Control Unit): mixes all streams into one before forwarding. Lower receiver bandwidth but high server compute.
"We chose SFU architecture (mediasoup) for our video meetings. With 10 participants, each browser receives 9 streams — the SFU is just a packet forwarder. MCU would mix 10 streams into 1 on the server, reducing client bandwidth significantly but requiring server-side video transcoding for every participant. At scale, SFU server costs are lower; MCU has lower client requirements."
- CRDT (Conflict-free Replicated Data Type) /siː ɑːr diː tiː/
A data structure that enables multiple concurrent writers to modify shared state without coordination and always converge to a consistent state. Used in real-time collaborative editors (Yjs, Automerge) as an alternative to operational transformation.
"Our collaborative code editor uses Yjs CRDT. Two users can simultaneously edit the same line — their changes are represented as CRDT operations. When the operations are exchanged, they merge deterministically without conflict: no server round trip needed for conflict resolution. Offline edits merge correctly when the user reconnects. The CRDT guarantees eventual consistency."
Quick Quiz — WebRTC & Real-Time Communication
Test yourself on these 7 terms. You'll answer 7 multiple-choice questions — each shows a term, you pick the correct definition.
What does this term mean?
Quiz complete!
Frequently Asked Questions
How many terms are in the WebRTC & Real-Time Communication vocabulary set?
The WebRTC & Real-Time Communication set has 7 terms, each with a definition, pronunciation, and an example sentence showing real-world usage.
What level is the WebRTC & Real-Time Communication vocabulary set?
This set is labelled Advanced. If you find it too challenging, browse the full vocabulary list to find a set closer to your current level.
Is this vocabulary set free to study?
Yes. Every vocabulary set on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
What study modes are available for this set?
Three modes: a searchable Study List showing all terms with definitions and examples, Flashcards for active recall practice, and a Quiz that tests you with multiple-choice questions.
Is my flashcard progress saved?
Yes — your "learned" status for each flashcard is saved in your browser's local storage, so it persists between visits on the same device.
Can I practise these terms in an exercise?
Browse the Vocabulary exercises hub to find a related interactive exercise covering similar IT terminology.
Can I search within this vocabulary set?
Yes — use the search box above the term list to filter instantly by word, definition, or example as you type.
Is the WebRTC & Real-Time Communication set linked to any career role paths?
Vocabulary sets that map to specific IT roles (like Frontend Developer or DevOps Engineer) show a "Part of" list above linking to those role paths — check the header for this set.
How is a quiz question scored?
Each quiz question shows one term and four possible definitions; you pick the correct one. At the end you get a percentage score and a summary message based on how many you got right.
Where can I find more vocabulary sets like this one?
Browse the full Vocabulary hub for all study sets, organised by topic — from Agile and Git to Cloud Infrastructure, Security, and AI/ML.