e01.org

RTCInboundRtpStreamStats: totalInterFrameDelay property

WebRTC

WebRTC

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.

## Value

A positive number, in seconds.

## Specifications

## Browser compatibility

source: MDN Web Docs mirror · page

Cite this

"RTCInboundRtpStreamStats: totalInterFrameDelay property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/RTCInboundRtpStreamStats/totalInterFrameDelay

JSON record · API collection · citation policy