RTCPeerConnectionStats: dataChannelsClosed property
The dataChannelsClosed
property of the RTCPeerConnectionStats
dictionary indicates the number of unique RTCDataChannel
objects that have left the open
state during their lifetime.
A channel will leave the open
state if either end of the connection or the underlying transport is closed.
Note that channels that transition to closing
or closed
without ever being open
are not counted in this number.
Value
A positive integer that indicates the number of unique RTCDataChannel
objects that have left the open
state during their lifetime.
Specifications
Specification |
---|
Identifiers for WebRTC's Statistics API # dom-rtcpeerconnectionstats-datachannelsclosed |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
dataChannelsClosed in 'peer-connection' stats |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.