VideoFrame: close() メソッド
close()
は VideoFrame
インターフェイスのメソッドで、すべての状態をクリアし、メディアリソースへの参照を解放します。
構文
js
close()
引数
なし。
返値
未定義。
例
次の例では VideoFrame
オブジェクトが閉じられます。
js
VideoFrame.close();
仕様書
Specification |
---|
WebCodecs # dom-videoframe-close |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
close |
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.