web api instance method
VideoEncoder: close() method
Secure contextAvailable in workers
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
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.