MDN self-hosted library · e01.org

RTCDataChannelStats: label property

WebRTC

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

WebRTC

The label property of the RTCDataChannelStats dictionary returns the label of the associated data channel.

The value of the label need not be unique, and its meaning is defined by the website or app when it creates the data channel.

Value

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

Specifications

Browser compatibility

See also

  • RTCDataChannel.label