RTCTransportStats: bytesReceived property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The bytesReceived property of the 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

Specification
Identifiers for WebRTC's Statistics API
# dom-rtctransportstats-bytesreceived

Browser compatibility