RTCInboundRtpStreamStats: frameWidth property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The frameWidth property of the RTCInboundRtpStreamStats dictionary indicates the width 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.width.
Note: The value is undefined for audio streams, or before the first frame is encoded.
Value
A positive integer, in pixels.
Specifications
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtcinboundrtpstreamstats-framewidth> |
Browser compatibility
Loading…