Bug 210231 - No support for stereo audio streams with getUserMedia. No "channelCount" constraint
Summary: No support for stereo audio streams with getUserMedia. No "channelCount" cons...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 13
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-08 17:50 PDT by Samuel Lehane
Modified: 2020-04-09 16:40 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Lehane 2020-04-08 17:50:55 PDT
Two issues are presented when using multichannel audio devices with a getUserMedia request. 

1. getUserMedia is not supporting the "channelCount" constraint so a request for 2 channels can not be made.
2. If a stereo source is selected the media requests defaults to 1 channel and only takes the Left channel and does not sum Left and Right channels together.

The ability to have stereo audio streams is crucial to being able to broadcast live broadcasts with premium audio quality and webRTC.

https://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia

I have attempted with the current work around to disable "echoCancelation" via the "applyConstraints" method. Which does disable the echoCancelation however this will still not produce a stereo audio stream from a stereo media device.
Comment 1 Radar WebKit Bug Importer 2020-04-09 16:40:15 PDT
<rdar://problem/61549619>