Back to Content

RTCInboundRtpStreamStats: framesPerSecond property

files/en-us/web/api/rtcinboundrtpstreamstats/framespersecond/index.md

latest472 B
Original Source

{{APIRef("WebRTC")}}

The framesPerSecond property of the {{domxref("RTCInboundRtpStreamStats")}} dictionary indicates the number of frames decoded in the last second.

Note that this may be lower than the media source frame rate, which is provided in {{domxref("RTCVideoSourceStats.framesPerSecond")}}.

[!NOTE] The value is undefined for audio streams.

Value

A positive integer.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}