Back to Content

RTCIceCandidatePairStats: bytesSent property

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

latest616 B
Original Source

{{APIRef("WebRTC")}}

The bytesSent property of the {{domxref("RTCIceCandidatePairStats")}} dictionary indicates the total number of payload bytes that have been sent so far on the connection described by the candidate pair.

Value

An integer value indicating the total number of bytes sent so far on the connection described by this candidate pair.

Only data bytes are counted; overhead such as padding, headers, and the like are not included in this count.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("RTCIceCandidatePairStats.bytesReceived")}}