MDN self-hosted library · e01.org

RTCInboundRtpStreamStats: pauseCount property

WebRTC

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

WebRTC

The pauseCount property of the RTCRemoteInboundRtpStreamStats dictionary indicates the total number of pauses experienced by this receiver.

A pause is counted when a new frame is rendered more than 5 seconds after the last frame was rendered.

The average pause duration can be calculated using totalPausesDuration / pauseCount.

[!NOTE] The property is undefined for audio streams.

Value

A positive integer.

Specifications

Browser compatibility

See also

  • totalPausesDuration