RTCIceCandidatePairStats: bytesDiscardedOnSend property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The bytesDiscardedOnSend property of the RTCIceCandidatePairStats dictionary indicates the total number of bytes discarded due to socket errors.

The errors might be caused, for example, by attempting to pass packets to the socket when it is full.

Value

An integer value indicating the total number of bytes discarded due to socket errors. This is calculated as defined in RFC 3550, section 6.4.1.

Specifications

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcicecandidatepairstats-bytesdiscardedonsend

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
bytesDiscardedOnSend in 'candidate-pair' stats
Experimental