Bug 224866

Summary: Can't hear audio after unmuting
Product: WebKit Reporter: Kongpheng <Kongpheng.Nanthavongsa>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: cdumez, eric.carlson, peng.liu6, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Unspecified   
OS: Unspecified   

Description Kongpheng 2021-04-21 04:13:32 PDT
To reproduce:
* Go to https://webrtc.github.io/samples/src/content/getusermedia/audio/
* When prompted to allow microphone access, grant it, by clicking Allow
* Speak or tap screen of phone and notice you hear sound
* Click mute icon
* Speak or tap screen of phone and notice the lack of sound
* Click mute icon again to unmute
* Speak or tap screen of phone and notice the lack of sound (since you're unmuted, sound should have been audible)

Note: you might need to mute/unmute a couple of times before you can reproduce.

Issue was reproduced on an iPhone 11 on iOS 14.4.2.  Not reproducible on macOS 10.15.7.
Comment 1 Radar WebKit Bug Importer 2021-04-21 08:25:57 PDT
<rdar://problem/76960230>
Comment 2 youenn fablet 2021-04-21 09:12:41 PDT
I tried quickly on iOS 14.5 beta and was not able to reproduce.
Do you see anything in the console like "A MediaStreamTrack ended due to a capture failure"?

Could you try reproducing on iOS 14.5?
If you can reproduce, you can send me privately a sysdiagnose?
Comment 3 Kongpheng 2021-04-22 14:22:20 PDT
I was able to reproduce on iOS 14.5 (18E199).  I wasn't able to inspect the console logs because I'm not allowed to upgrade my work laptop to iOS 14.5 yet.  Sorry.

In any case, I've captured a couple of sysdiagnose's and will share privately in email now.  Thanks!
Comment 4 youenn fablet 2021-04-28 00:35:12 PDT
Thanks Kongpheng, I was able to reproduce the issue.
Mute/unmute is about the media element, not the capture red pill.
Comment 5 Kongpheng 2021-04-28 05:41:02 PDT
Thanks Youenn,

Can you suggest a workaround for this issue, please?  I tried to find a workaround but wasn't able to mitigate.
Comment 6 Kongpheng 2021-05-13 14:48:19 PDT
I upgraded to iOS 14.6 Beta 3 (18F5065a) and am no longer able to reproduce the issue.  Thanks!
Comment 7 youenn fablet 2023-01-20 02:06:51 PST
I was not able to reproduce either.
Given Kongpheng mentionned this is fixed in iOS14.6, marking as resolved.