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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
bytesSent in 'outbound-rtp' stats