Re: [mediacapture-main] MediaTrackSettings lacks support of channel layout (#605)

This is my current understanding after having talked with @henrikand:

The implementation's channel count and layout is tied to WebAudio, see its [channelInterpretation](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/channelInterpretation). The number of channels seem to map to a specific channel layout, e.g. 6 channels = "5.1" = L, R, C, LFE, SL, SR. You couldn't have a different layout with the same number of channels. In a WebAudio context, a channel count higher than 6 is not supported.

As a consequence, the existing MediaStreamTrackSettings.channelCount is enough to figure out the channel layout (it just needs to be implemented by browsers or else you have to look up the channel count with WebAudio). Separating channel count and channel layout seem to be a larger issue to tackle. I'm removing the TPAC label since I don't have a concrete suggestion here.

We may consider ice-boxing this issue unless we find stronger incentive to have a more expressive channel layout?

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/605#issuecomment-531238567 using your GitHub account

Received on Friday, 13 September 2019 13:33:31 UTC