RTCInboundRtpStreamStats.bytesReceived
The RTCInboundRtpStreamStats
dictionary's bytesReceived
property is an integer value which indicates the total number of bytes received so far from this synchronization source (SSRC).
Syntax
var bytesReceived = rtcInboundRtpStreamStats.bytesReceived;
Value
An unsigned integer value indicating the total number of bytes received so far on this RTP stream, not including header and padding bytes. This value can be used to calculate an approximation of the average media data rate:
avgDataRate = rtcInboundRtpStreamStats.bytesReceived / elapsedTime;
This value gets reset to zero if the sender's SSRC identifier changes for any reason.
Specifications
No specification data found for api.RTCInboundRtpStreamStats.bytesReceived
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
Browser compatibility
No compatibility data found for api.RTCInboundRtpStreamStats.bytesReceived
.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.
© 2005–2021 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