title | short-title | slug | page-type | browser-compat |
---|---|---|---|---|
AudioEncoder: reset() method |
reset() |
Web/API/AudioEncoder/reset |
web-api-instance-method |
api.AudioEncoder.reset |
{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}
The reset()
method of the {{domxref("AudioEncoder")}} interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.
reset()
None.
None ({{jsxref("undefined")}}).
The following example resets the AudioEncoder
.
AudioEncoder.reset();
{{Specifications}}
{{Compat}}