Require `AudioDecoderConfig.description` for channels > 2 with Opus?
Open
@tguilbert-google is already working on this.
Since Jul 14, 2026.
agenda
CR Blocking
- Dominant language
- HTML
- Stars
- 1.3k
- Forks
- 194
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
I'm surfacing this issue, originally reported against Chromium's implementation.
The following fails on Chromium but works on Firefox
const config = {codec: 'opus', numberOfChannels: 6, sampleRate: 44100};
console.log(await AudioDecoder.isConfigSupported(config)); // {supported: true}
const decoder = new AudioDecoder({ error: console.error, output: console.log });
decoder.configure(config);
If the channel count is greater than 2 we can either:
- have isConfigSupported() return
{supported: false}whenAudioDecoderConfig.descriptionisn't set - generate
extradatabehind the scenes
Is this worth calling out in the spec, or adding a non-normative note?
@padenot, wdyt?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.