Closed konstantin-paulus closed 4 months ago
This repository is home to the Web Codecs specification.
Questions on how to do something with the WebCodecs API are better suited to something like Stack Overflow.
That said, you should probably double-check the way you configure your encoder (sample-rate, channel count), and what the AudioData
contain.
Hello, I'm trying to process audio files using the Web Audio API and then to encode the result using the Web Codecs API, here is what a simplified version of my code looks like:
However when I run this code, I'm getting the error
DOMException: Input audio buffer is incompatible with codec parameters
. What did I do wrong?