RTCInboundRtpStreamStats: totalPausesDuration property
Baseline 2025>
Newly available
Since August 2025, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The totalPausesDuration property of the RTCRemoteInboundRtpStreamStats dictionary indicates the total time that the video in this stream has spent paused, in seconds
A pause is counted when a new frame is rendered more than 5 seconds after the last frame was rendered, and the time taken between frames is added to the totalPausesDuration.
The average pause duration can be calculated using totalPausesDuration / pauseCount.
Note: The property is undefined for audio streams.
Value
A positive number, in seconds.
Specifications
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcinboundrtpstreamstats-totalpausesduration> |