MDN self-hosted library · e01.org

RTCDataChannelStats: bytesReceived property

WebRTC

no runnable cells web-api-instance-property upstream source

WebRTC

The bytesReceived property of the RTCDataChannelStats dictionary returns the total number of payload bytes received on the associated RTCDataChannel.

Note that non-payload bytes, such as those for framing and in headers, are not included.

Value

A positive integer value indicating the total number of payload bytes received on the associated data channel.

Specifications

Browser compatibility

See also

  • RTCDataChannel