RTCTransportStats: bytesSent property

Baseline 2026
Newly available

Since August 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The bytesSent property of the RTCTransportStats dictionary indicates the total number of payload bytes sent 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 sent payload bytes.

Specifications

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

Browser compatibility