MDN self-hosted library · e01.org

VideoDecoder: close() method

WebCodecs APIwindowanddedicated

WebCodecs APIwindow_and_dedicated

The close() method of the VideoDecoder interface ends all pending work and releases system resources.

Syntax

close()

Parameters

None.

Return value

None (undefined).

Examples

The following example closes the VideoDecoder.

VideoDecoder.close();

Specifications

Browser compatibility