RTCDataChannelStats: dataChannelIdentifier property

The dataChannelIdentifier property of the RTCDataChannelStats dictionary containing the id of the associated RTCDataChannel providing these statistics.

Using the dataChannelIdentifier, you can correlate this statistics object to a particular RTCDataChannel.

Value

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

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcdatachannelstats-datachannelidentifier

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
dataChannelIdentifier in 'data-channel' stats