W3cubDocs

/Web APIs

RTCInboundRtpStreamStats: bytesReceived property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨March 2020⁩.

The bytesReceived property of the RTCInboundRtpStreamStats dictionary indicates the total number of bytes received so far from this synchronization source (SSRC), not including header and padding bytes.

The value can be used to calculate an approximation of the average media data rate:

avgDataRate = rtcInboundRtpStreamStats.bytesReceived / elapsedTime;

The property value is reset to zero if the sender's SSRC identifier changes for any reason.

Value

An positive integer.

Specifications

Browser compatibility

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 79 79 27 66 13.1 79 27 57 13.4 12.0 79 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/RTCInboundRtpStreamStats/bytesReceived