RTCPeerConnectionStats: dataChannelsOpened property

The dataChannelsOpened property of the RTCPeerConnectionStats dictionary indicates the number of unique RTCDataChannel objects that have entered the open state during their lifetime.

Value

A positive integer that indicates the number of unique RTCDataChannel objects that have entered the open state during their lifetime.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcpeerconnectionstats-datachannelsopened

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
dataChannelsOpened in 'peer-connection' stats