Bug 211959

Summary: All Web Audio output mono after capturing microphone with getUserMedia
Product: WebKit Reporter: rykkers
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: 541657414, juberti, koshelev, rivkabrenig, tal.bar2005, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: iPhone / iPad   
OS: iOS 13   

Description rykkers 2020-05-15 09:07:42 PDT
When playing audio files where the audio comes only out of either the left or right channel.

Normally the audio file plays fine, but after capturing the user's microphone using getUserMedia, this causes the audio file to play equally out of both left a right channels.

This has been tested using pre-prepared stereo audio files in <audio> elements, also using buffered streams and the AudioContext.

I've seen it hinted that this is due to the AudioContext switching to "call" mode. But haven't seen any documentation, or ability to switch this mode back manually.
Comment 1 Radar WebKit Bug Importer 2020-05-15 12:21:23 PDT
<rdar://problem/63284277>
Comment 2 rykkers 2020-05-15 14:38:51 PDT
Example here: https://jsfiddle.net/2gh05w48/

refresh page to re-run test
Comment 3 Tal Bar 2024-01-25 06:12:58 PST
It's been almost 4 years since this issue was reported, and not a single reply.. 
Is anyone ever going to address this issue?
Comment 4 爱学习的姜某某 2024-02-22 05:50:46 PST
(In reply to Tal Bar from comment #3)
> 自从这个问题被报道以来已经快4年了,但没有一个回复。
> 有人会解决这个问题吗?

找到办法了么,我也碰到这个问题了
把getUserMedia那里的所有track都stop掉,播放音频直接消失了,过一段时间又正常播放了
这里也有疑问,获取麦克风那里track停掉,为什么会影响音频播放的流媒体