web api instance property
VideoFrame: codedRect property
Available in workers
The codedRect property of the VideoFrame interface returns a DOMRectReadOnly with the width and height matching codedWidth and codedHeight.
Value
Examples
The following example prints the codedRect to the console.
console.log(VideoFrame.codedRect);
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.