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.
- Related
- WebRTC, SCTP, DTLS, Interactive Connectivity Establishment
- Further reading
- RFC 8831 — WebRTC Data Channels