W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2019

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

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 Sep 2019 13:33:30 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-531238567-1568381609-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:48 UTC