WebRTC Metrics
A comprehensive overview of WebRTC statistics, derived indicators, and observable signals, to better understand call quality, connectivity, and user experience in rtcStats
Back
peer-connectionpeer-connectiondata-channel
dataChannelsOpened
Number of data channels that have been opened.
Description
Unsigned long
The number of unique RTCDataChannels that have entered the "open" state during the lifetime of this RTCPeerConnection.
Defined in the W3C WebRTC Statistics specification.
See also
- peer-connection->dataChannelsClosed
- WebRTC Statistics Specification

Notes
- This is a cumulative counter - it only increases. Data channels that were opened and then closed are still counted
- Compare with dataChannelsClosed to determine how many data channels are currently open