Since May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The dataChannelsOpened property of the RTCPeerConnectionStats dictionary indicates the number of unique RTCDataChannel objects that have entered the open state during their lifetime.
A positive integer that indicates the number of unique RTCDataChannel objects that have entered the open state during their lifetime.
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcpeerconnectionstats-datachannelsopened> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
dataChannelsOpened |
80 | 80 | 113 | 67 | 13.1 | 80 | 113 | 57 | 13.4 | 13.0 | 80 | 13.4 |
© 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/RTCPeerConnectionStats/dataChannelsOpened