Back to Content

RTCDataChannelStats: dataChannelIdentifier property

files/en-us/web/api/rtcdatachannelstats/datachannelidentifier/index.md

latest560 B
Original Source

{{APIRef("WebRTC")}}

The dataChannelIdentifier property of the {{domxref("RTCDataChannelStats")}} dictionary containing the {{domxref("RTCDataChannel.id", "id")}} of the associated RTCDataChannel providing these statistics.

Using the dataChannelIdentifier, you can correlate this statistics object to a particular {{domxref("RTCDataChannel")}}.

Value

A string containing the same value as the {{domxref("RTCDataChannel.id")}} property of the associated data channel.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}