Open Bug 983058 Opened 11 years ago Updated 2 years ago

Write a WPT that tests the a MediaElementAudioSourceNode has the same number of channels as the original HTMLMediaElement

Categories

(Core :: Web Audio, defect, P4)

26 Branch
x86_64
Linux
defect

Tracking

()

People

(Reporter: karlt, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [spec])

"The first AudioMediaStreamTrack from the MediaStream will be used as a source of audio." "The number of channels of the output corresponds to the number of channels of the AudioMediaStreamTrack." Currently all audio unblocked tracks are mixed, and the channel count is the union of channel counts from all tracks. Perhaps it makes sense to use all the enabled (not blocked?) tracks, and the Web Audio spec could be changed.
Paul -- is this still valid? And if so, should the spec be updated, or should we modify our implementation to match the spec? Also, what should be the priority of this? Thanks
Rank: 25
Flags: needinfo?(padenot)
Whiteboard: [spec]
We talked about it at a spec level, we've agreed what to do, but we haven't written the text yet, and the solution was a bit weird. https://github.com/WebAudio/web-audio-api/issues/132
Flags: needinfo?(padenot)
P2 I guess. There are more important things to work on, but since we are implementing (or have implemented) related APIs (MediaStream ctor, AddTrack, etc.), it makes sense to have this up to date per spec.
Summary: MediaStreamAudioSourceNode should use only the first audio track → Implement the new behavior for MediaStreamAudioSourceNode
Priority: P2 → P3
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4

We now doing the right thing, but it would be good to have a WPT that tests it.

Summary: Implement the new behavior for MediaStreamAudioSourceNode → Write a WPT that tests the a MediaElementAudioSourceNode has the same number of channels as the original HTMLMediaElement

It will be easy to write a test for this when AudioWorklet is finished: it makes it easy to inspect the number of channel of an input.

Depends on: audioworklet
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.