RTCDataChannelStats: state property
The state
property of the RTCDataChannelStats
dictionary returns a string that indicates the readyState
of the data channel's underlying data connection: connecting
, open
, closing
or closed
.
Note that this property is required.
Values
A string containing the same value as the RTCDataChannel.readyState
property of the associated data channel.
Specifications
Specification |
---|
Identifiers for WebRTC's Statistics API # dom-rtcdatachannelstats-state |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
state in 'data-channel' stats |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No 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.