W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2021

Re: [webrtc-extensions] Enabling opus stereo audio without SDP munging (stereo=1) (#63)

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 Feb 2021 09:58:24 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-784956298-1614160702-sysbot+gh@w3.org>
The proposed PR is "send stereo by default if the source is stereo". If the source is mono, you won't be sending stereo (up-sampling there would be a bug).

The concern I see is for applications that don't specify channelCount when they do getUserMedia() and thus rely on the default. While most microphones are probably mono, as @jan-ivar pointed out, it looks as if the default channelCount changed from 1 to 2 in a recent version of Chrome? I don't know if that is a good or bad default, but if you actually have a stereo microphone and you are recording stereo then why not send stereo? The question I would ask is, if we don't want stereo, why are we recording stereo?

If stereo or mono should be the default seems like an interesting question. But if you really don't don't want stereo, then regardless of what we think the default should be, you can always restrict the source to mono with getUserMedia({audio:{channelCount:1}}. So when would you need to do SDP munging?

GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/63#issuecomment-784956298 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 24 February 2021 09:58:26 UTC

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