MDN self-hosted library · e01.org

RTCDataChannelStats: state property

WebRTC

no runnable cells web-api-instance-property upstream source

WebRTC

The state property of the RTCDataChannelStats dictionary returns a string that indicates the readyState of the data channel's underlying data connection: connecting, open, closing or closed.

Note that this property is required.

Values

A string containing the same value as the RTCDataChannel.readyState property of the associated data channel.

Specifications

Browser compatibility

See also

  • RTCDataChannel.readyState