W3cubDocs

/Web APIs

RTCInboundRtpStreamStats: fecPacketsDiscarded property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨October 2022⁩.

The fecPacketsDiscarded property of the RTCInboundRtpStreamStats dictionary indicates the number of RTP Forward Error Correction (FEC) packets that have been discarded.

A FEC packet provides parity information that can be used to attempt to reconstruct RTP data packets which have been corrupted in transit. This kind of packet might be discarded if all the packets that it covers have already been received or recovered using another FEC packet, or if the FEC packet arrived outside the recovery window and the lost RTP packets have already been skipped during playback as a result. The value of fecPacketsReceived includes these discarded packets.

Value

An positive integer value.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
fecPacketsDiscarded 81 81 106 68 14.1 81 106 58 14.5 13.0 81 14.5

© 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/fecPacketsDiscarded