Firefox Tomorrow

web api instance property

RTCDataChannelStats: bytesSent property

View on MDN ↗

The bytesSent property of the RTCDataChannelStats dictionary returns the total number of payload bytes sent on the associated RTCDataChannel.

Note that non-payload bytes, such as those for framing and in headers, are not included.

Value

A positive integer value indicating the total number of payload bytes sent on the associated data channel.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also