Bug 210231

Summary: No support for stereo audio streams with getUserMedia. No "channelCount" constraint
Product: WebKit Reporter: Samuel Lehane <sam>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: All   
OS: All   

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>