This feature is well established and works across many devices and browser versions. It’s been available across browsers since October 2022.
The headerBytesReceived property of the RTCInboundRtpStreamStats dictionary indicates the total number of RTP header and padding bytes received for this synchronization source (SSRC), including those sent in retransmissions.
Note that the total number of bytes received as payload over the transport is equal to: headerBytesReceived + bytesReceived.
A positive integer.
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcinboundrtpstreamstats-headerbytesreceived> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
headerBytesReceived |
80 | 80 | 106 | 67 | 14.1 | 80 | 106 | 57 | 14.5 | 13.0 | 80 | 14.5 |
© 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/RTCInboundRtpStreamStats/headerBytesReceived