This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
The bytesSent property of the RTCIceCandidatePairStats dictionary indicates the total number of payload bytes that have been sent so far on the connection described by the candidate pair.
An integer value indicating the total number of bytes sent so far on the connection described by this candidate pair.
Only data bytes are counted; overhead such as padding, headers, and the like are not included in this count.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
bytesSent |
58 | 79 | 56 | 45 | 11 | 58 | 56 | 43 | 11 | 7.0 | 58 | 11 |
© 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/RTCIceCandidatePairStats/bytesSent