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

BCD tables only load in the browser