AudioDecoder: AudioDecoder() constructor - Web APIs | MDN
Syntax
Parameters
Examples
In the following example an AudioDecoder is created with the two required callback functions, one to deal with the decoded chunk and the other to handle errors.
js
const audioDecoder = new AudioDecoder({
output: processAudio,
error: onEncoderError,
});
Specifications
| Specification |
|---|
| WebCodecs # audiodecoder |