RTCInboundRtpStreamStats: concealmentEvents 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 concealmentEvents property of the RTCInboundRtpStreamStats dictionary indicates the total number of concealment events for the received audio track over the lifetime of this stats object.

A concealed sample is a sample that was lost or arrived too late to be played out, and therefore had to be replaced with a locally generated synthesized sample. Any number of consecutive concealed samples following a non-concealed sample comprise a single concealment event. The value in this property will therefore be less than or equal to concealedSamples, which counts every sample.

Note: The value is undefined for video streams.