RTCInboundRtpStreamStats: totalInterFrameDelay property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
ThetotalInterFrameDelay
property of theRTCInboundRtpStreamStats
dictionary indicates the total accumulated time between consecutively rendered frames, in seconds.It is recorded after each frame is rendered.
The inter-frame delay variance can be calculated fromtotalInterFrameDelay
,totalSquaredInterFrameDelay
, andframesRendered
according to the formula:(totalSquaredInterFrameDelay - totalInterFrameDelay^2/ framesRendered)/framesRendered
.
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-totalinterframedelay> |
Browser compatibility
Loading…