Back to Content

RTCInboundRtpStreamStats: packetsDiscarded property

files/en-us/web/api/rtcinboundrtpstreamstats/packetsdiscarded/index.md

latest757 B
Original Source

{{APIRef("WebRTC")}}

The packetsDiscarded property of the {{domxref("RTCInboundRtpStreamStats")}} dictionary indicates the cumulative number of {{Glossary("RTP")}} packets that have been discarded by the {{glossary("jitter","jitter buffer")}} due to late or early-arrival, and are hence not played out.

The value does not include packets that are discarded to due to packet duplication.

Value

A positive integer value.

This is calculated as defined in {{rfc("7002",,"3.2")}} (and appendix A.a.)

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("RTCRemoteInboundRtpStreamStats.packetsLost", "packetsLost")}}
  • {{domxref("RTCRemoteInboundRtpStreamStats.packetsReceived", "packetsReceived")}}