Firefox Tomorrow

web api instance method

AudioEncoder: close() method

View on MDN ↗

Secure contextAvailable in workers

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.