The fecPacketsDiscarded property of the RTCInboundRtpStreamStats dictionary is a numeric value indicating the number of RTP Forward Error Correction (FEC) packets that have been discarded.


var fecPacketsDiscarded = rtcInboundRtpStreamStats.fecPacketsDiscarded;


An unsigned integer value indicating how many FEC packets have been received whose error correction payload has been discarded.

This can happen if all the packets covered by the FEC packet 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.


Specification Status Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCInboundRtpStreamStats.fecPacketsDiscarded' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

No compatibility data found for api.RTCInboundRtpStreamStats.fecPacketsDiscarded.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.