This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2022.
The packetsDiscarded property of the RTCInboundRtpStreamStats dictionary indicates the cumulative number of RTP packets that have been discarded by the 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.
An positive integer value.
This is calculated as defined in RFC 7002, section 3.2 (and appendix A.a.)
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcinboundrtpstreamstats-packetsdiscarded> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
packetsDiscarded |
94 | 94 | 96 | 80 | 15.4 | 94 | 96 | 66 | 15.4 | 17.0 | 94 | 15.4 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCInboundRtpStreamStats/packetsDiscarded