This feature is not Baseline because it does not work in some of the most widely-used browsers.
The bytesReceived property of the RTCDataChannelStats dictionary returns the total number of payload bytes received on the associated RTCDataChannel.
Note that non-payload bytes, such as those for framing and in headers, are not included.
A positive integer value indicating the total number of payload bytes received on the associated data channel.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
bytesReceived |
80 | 80 | 79 | 67 | 13.1 | 80 | No | 57 | 13.4 | 13.0 | 80 | 13.4 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelStats/bytesReceived