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.
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.
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 ("").
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | ||
protocol |
80 | 80 | 79 | 67 | 13.1 | 80 | No | 57 | 13.4 | 13.0 | 80 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelStats/protocol