RTCDataChannelStats: dataChannelIdentifier property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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

desktop mobile
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
Chrome – Full support
Chrome 85 (Release date: 2020-08-25)
footnote Full support
Edge – Full support
Edge 85 (Release date: 2020-08-27)
footnote Full support
Firefox – Full support
Firefox 79 (Release date: 2020-07-28)
footnote Full support
Opera – Full support
Opera 71 (Release date: 2020-09-15)
footnote Full support
Safari – No support
Safari
footnote No support
Chrome Android – Full support
Chrome Android 85 (Release date: 2020-08-25)
footnote Full support
Firefox for Android – No support
Firefox for Android
footnote No support
Opera Android – Full support
Opera Android 60 (Release date: 2020-09-23)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – Full support
Samsung Internet 14 (Release date: 2021-04-17)
footnote Full support
WebView Android – Full support
WebView Android 85 (Release date: 2020-08-25)
footnote Full support
WebView on iOS – No support
WebView on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support