VideoFrame: codedWidth-Eigenschaft
Hinweis: Diese Funktion ist in Dedicated Web Workers verfügbar.
Die codedWidth
-Eigenschaft des VideoFrame
-Interfaces gibt die Breite des VideoFrame
in Pixeln zurück, wobei möglicherweise nicht sichtbare Polsterung enthalten ist und bevor potenzielle Verhältnis-Anpassungen berücksichtigt werden.
Wert
Ein ganzzahliger Wert.
Beispiele
Das folgende Beispiel gibt die codedWidth
in der Konsole aus.
js
console.log(VideoFrame.codedWidth);
Spezifikationen
Specification |
---|
WebCodecs # dom-videoframe-codedwidth |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
codedWidth |
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.