WebRTC
The frameHeight property of the 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 RTCVideoSourceStats.height.
[!NOTE] The property is undefined for audio streams, and before the first frame is decoded.
Value
A positive integer, in pixels.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
