W3cubDocs

/Web APIs

RTCTransportStats: bytesSent property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used 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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
bytesSent 80 80 No 67 13.1 80 No 57 13.4 13.0 80 13.4

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCTransportStats/bytesSent