RTCDataChannelStats: protocol property
The protocol
property of the RTCDataChannelStats
dictionary returns a string containing the protocol
of the associated data channel.
The value is defined by the website or app when it creates the data channel.
Value
A string containing the same value as the RTCDataChannel.protocol
property of the associated data channel.
If no protocol was defined, this will be the empty string ("").
Specifications
Specification |
---|
Identifiers for WebRTC's Statistics API # dom-rtcdatachannelstats-protocol |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
protocol 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.