WebRTC
Web Real-Time CommunicationApplication layer · OSI 7Peer-to-peer browser video calls via ICE, DTLS, and SRTP
| No. | Time | Source | Destination | Protocol | Info | Size |
|---|---|---|---|---|---|---|
| 1 | 0.000 s | 192.168.1.10 | 203.0.113.40 | WebSocket | Signaling JOIN {"room":42} | 134 B |
Overview
connects two browsers straight to each other for low-latency audio and video. A signaling server introduces the callers, and punch through home NATs, and sets up encrypted .
Combining W3C APIs with IETF protocols (RFC 8825), WebRTC trades offers over app signaling, probes peer-to-peer UDP paths via ICE/STUN, runs DTLS 1.3 (fallback 1.2) for keys, and streams encrypted SRTP.
Key facts
- Layer
- Application (media over UDP SRTP)
- Traversal
- ICE + STUN (TURN fallback)
- Key exchange
- DTLS 1.3 (1.2 fallback)
- Encryption
- Mandatory SRTP (always on)
- Defined in
- W3C; RFC 8825, 8445, 8489, 9147
Peer-to-peer media bypassing the server
The call server passed SDP offers, STUN found public NAT ports, ICE punched a direct UDP link, and DTLS established encrypted SRTP directly between browsers.
WebRTC setup combined WebSocket signaling, STUN/ICE NAT traversal, DTLS 1.3 (fallback 1.2) key agreement, and direct SRTP streaming.
- Signaling
- Via call.example.com
- Media path
- Direct peer-to-peer through 2 NATs
- Encryption
- DTLS 1.3/1.2 -> SRTP
- Fallback
- TURN relay or group SFU
Try it yourself
Inspect live browser WebRTC statistics
During any WebRTC call in Chrome or Edge, visit the internal diagnostics tab to see live ICE pairs, STUN/TURN candidates, and DTLS state.
start chrome://webrtc-internals