Path: blob/main/files/en-us/web/api/audioencoder/reset/index.md
6520 views
------{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
The reset() method of the {{domxref("AudioEncoder")}} interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.
Syntax
Parameters
None.
Return value
None ({{jsxref("undefined")}}).
Examples
The following example resets the AudioEncoder.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}