Protocols
Saved & recent

WebRTC data channel

Also called: RTCDataChannel, data channel, SCTP over DTLS

A WebRTC data channel carries application messages between peers alongside, or without, audio and video. Its protocol stack uses SCTP over DTLS over an ICE-selected transport path. Channels can use ordered or unordered delivery and reliable or partially reliable transport, allowing applications to choose how long outdated messages remain worth sending.

For example, a game can send chat reliably while sending frequently refreshed position updates with limited retransmission. Those choices change delivery behavior without removing encryption. Data channels preserve message boundaries and have implementation or negotiated size limits. This WebRTC use of SCTP does not support SCTP multihoming; ICE handles path selection separately.

Read first
WebRTC, SCTP
Related
WebRTC, SCTP, DTLS, Interactive Connectivity Establishment
Further reading
RFC 8831 — WebRTC Data Channels
chat channel position channel reliable · ordered unordered · partially reliable obsolete update SCTP DTLS ICE / UDP SRTP media parallel path data-channel transport stack
Illustrative WebRTC channels choose ordered reliable chat and unordered position updates with limited retransmission. Both feed SCTP over DTLS over the ICE-selected path. SRTP media is a parallel mechanism, not a layer in this stack; SCTP multihoming is absent in this mode.

View in the full Protocols collection