VideoFrame: codedRect-Eigenschaft
Hinweis: Diese Funktion ist in Dedicated Web Workers verfügbar.
Die codedRect
-Eigenschaft der VideoFrame
-Schnittstelle gibt ein DOMRectReadOnly
mit der Breite und Höhe zurück, die VideoFrame.codedWidth
und VideoFrame.codedHeight
entsprechen.
Wert
Ein DOMRectReadOnly
.
Beispiele
Das folgende Beispiel gibt das codedRect
in der Konsole aus.
js
console.log(VideoFrame.codedRect);
Spezifikationen
Specification |
---|
WebCodecs # dom-videoframe-codedrect |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
codedRect |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.