Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The audio track to use in decodeAudioData isn't specified #2375

Closed
padenot opened this issue Jun 24, 2021 · 6 comments
Closed

The audio track to use in decodeAudioData isn't specified #2375

padenot opened this issue Jun 24, 2021 · 6 comments
Assignees

Comments

@padenot
Copy link
Member

padenot commented Jun 24, 2021

At least Firefox and Chrome both pick the first track, respectively:

https://searchfox.org/mozilla-central/source/dom/media/webaudio/MediaBufferDecoder.cpp#257
https://source.chromium.org/chromium/chromium/src/+/main:media/filters/audio_file_reader.cc;l=71;drc=570d2d089d1d822d8b29111ea92d7e2e12cce67b;bpv=1;bpt=1

@guest271314

This comment was marked as off-topic.

@rtoy
Copy link
Member

rtoy commented Jun 28, 2021

I think the answer is that you can't select the track, and decodeAudioData won't be changed to allow for that. Use WebCodecs if you need this kind of control.

@guest271314

This comment was marked as off-topic.

@rtoy
Copy link
Member

rtoy commented Jun 29, 2021

I think what @padenot is saying is that we need to codify what track is used. We won't supply a way for the user to specify the track.

@padenot can provide more info about WebCodecs; I have not looked its capabilities.

@hoch
Copy link
Member

hoch commented Jul 22, 2021

7/22 Teleconf: write the spec text for the behavior which picks the first track.

@padenot padenot self-assigned this Jul 29, 2021
@padenot padenot transferred this issue from WebAudio/web-audio-api-v2 Aug 31, 2021
@hoch
Copy link
Member

hoch commented Sep 3, 2021

Closed per #2376.

@hoch hoch closed this as completed Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants