RTCInboundRtpStreamStats: totalFreezesDuration property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
ThetotalFreezesDuration property of theRTCRemoteInboundRtpStreamStats dictionary indicates the total time that the video in this stream has spent frozen, in seconds.
A freeze is counted if the interval between two rendered frames is equal or greater than the larger of "three times the average duration", or "the average + 150ms", and the time taken between frames is added to thetotalFreezesDuration.
The average freeze duration can be calculated usingtotalFreezesDuration / freezeCount.
Note:The property is undefined for audio streams.
In this article
Value
A positive number, in seconds.
Specifications
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcinboundrtpstreamstats-totalfreezesduration> |