Firefox Tomorrow

web api instance method

AudioEncoder: reset() method

View on MDN ↗

Secure contextAvailable in workers

The reset() method of the AudioEncoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.

Syntax

reset()

Parameters

None.

Return value

None (undefined).

Examples

The following example resets the AudioEncoder.

AudioEncoder.reset();

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.