MDN self-hosted library · e01.org

AudioEncoder: close() method

WebCodecs APIwindowanddedicated

WebCodecs APIwindow_and_dedicated

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

Syntax

close()

Parameters

None.

Return value

None (undefined).

Examples

The following example closes the AudioEncoder.

AudioEncoder.close();

Specifications

Browser compatibility