Back to Content

RTCInboundRtpStreamStats: frameHeight property

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

latest540 B
Original Source

{{APIRef("WebRTC")}}

The frameHeight property of the {{domxref("RTCInboundRtpStreamStats")}} dictionary indicates the height of the last decoded frame, in pixels.

Note that the resolution of the encoded frame may be lower than that of the media source, which is provided in {{domxref("RTCVideoSourceStats.height")}}.

[!NOTE] The property is undefined for audio streams, and before the first frame is decoded.

Value

A positive integer, in pixels.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}