This feature is not Baseline because it does not work in some of the most widely-used browsers.
The totalInterFrameDelay property of the RTCInboundRtpStreamStats 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 from totalInterFrameDelay, totalSquaredInterFrameDelay , and framesRendered according to the formula: (totalSquaredInterFrameDelay - totalInterFrameDelay^2/ framesRendered)/framesRendered.
Note: The property is undefined for audio streams.
A positive number, in seconds.
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcinboundrtpstreamstats-totalinterframedelay> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
totalInterFrameDelay |
79 | 79 | 106 | 66 | No | 79 | 106 | 57 | No | 12.0 | 79 | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCInboundRtpStreamStats/totalInterFrameDelay