Back to Content

RTCTransportStats: bytesSent property

files/en-us/web/api/rtctransportstats/bytessent/index.md

latest428 B
Original Source

{{APIRef("WebRTC")}}

The bytesSent property of the {{domxref("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

{{Specifications}}

Browser compatibility

{{Compat}}