Back to Content

RTCTransportStats: bytesReceived property

files/en-us/web/api/rtctransportstats/bytesreceived/index.md

latest440 B
Original Source

{{APIRef("WebRTC")}}

The bytesReceived property of the {{domxref("RTCTransportStats")}} dictionary indicates the total number of payload bytes received on this transport.

Only data bytes are counted; overhead such as padding, headers, and so on are not included in this count.

Value

A positive integer indicating the number of received payload bytes.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}