Back to Content

RTCInboundRtpStreamStats: framesReceived property

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

latest507 B
Original Source

{{APIRef("WebRTC")}}

The framesReceived property of the {{domxref("RTCInboundRtpStreamStats")}} dictionary indicates the total number of complete frames received on this RTP stream over its lifetime.

Note that this may be lower than the total number of media source frames, which is provided in {{domxref("RTCVideoSourceStats.frames")}}.

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

Value

A positive number.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}