VideoFrame: codedRect プロパティ

codedRectVideoFrame インターフェイスのプロパティで、幅と高さが VideoFrame.codedWidthVideoFrame.codedHeight に一致する DOMRectReadOnly を返します。

DOMRectReadOnly です。

次の例は codedRect をコンソールに出力します。

js
console.log(VideoFrame.codedRect);

仕様書

Specification
WebCodecs
# dom-videoframe-codedrect

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
codedRect

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support