MDN self-hosted library · e01.org

RTCInboundRtpStreamStats: concealedSamples property

WebRTC

no runnable cells web-api-instance-property upstream source

WebRTC

The concealedSamples property of the RTCInboundRtpStreamStats dictionary indicates the total number of concealed samples 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. Note that lost samples are reported in packetsLost, while late packets are reported in fecPacketsDiscarded.

[!NOTE] The value is undefined for video streams.

Value

A positive integer.

Specifications

Browser compatibility

See also

  • RTCInboundRtpStreamStats.silentConcealedSamples
  • RTCInboundRtpStreamStats.concealmentEvents
  • Packet loss concealment on Wikipedia