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
- RTCInboundRtpStreamStats.totalPausesDuration
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
