Skip to content

RtcDataChannel

HTTP API schema

Standard WebRTC RTCDataChannelInit options plus the required label passed to createDataChannel. Channels are bidirectional.

RtcDataChannel fields

labelstringRequired

maxLength: 256

orderedboolean
protocolstring

maxLength: 256

maxPacketLifeTimeinteger

minimum: 0

maximum: 65535

maxRetransmitsinteger

minimum: 0

maximum: 65535

negotiatedboolean
idinteger

minimum: 0

maximum: 65534

(payload) · allOf 1any
View source specification ↗