RTCOutboundRtpStreamStats: bytesSent property

Baseline Widely available

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

The bytesSent property of the RTCOutboundRtpStreamStats dictionary indicates the total number of payload bytes sent on this stream (RTCDataChannel).

The value includes bytes in retransmitted payload bytes. It does not include headers or padding.

Value

A positive integer.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcsentrtpstreamstats-bytessent

Browser compatibility

BCD tables only load in the browser