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.
A string containing the same value as the RTCDataChannel.id property of the associated data channel.
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcdatachannelstats-datachannelidentifier> |
| 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 |
85 | 85 | 79 | 71 | No | 85 | No | 60 | No | 14.0 | 85 | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelStats/dataChannelIdentifier