WebCodecs APIwindow_and_dedicated
The close() method of the VideoEncoder interface ends all pending work and releases system resources.
Syntax
close()
Parameters
None.
Return value
None (undefined).
Examples
The following example closes the VideoEncoder.
VideoEncoder.close();
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
