Bug 233518

Summary: Unplugging headset results in breaking microphone input
Product: WebKit Reporter: Vadim <vad.filippov>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Mac (Apple Silicon)   
OS: macOS 11   

Description Vadim 2021-11-26 03:40:53 PST
Could be reproduced with https://webrtc.github.io/samples/src/content/getusermedia/audio/

Pick built-in microphone input while having USB headset plugged in (for output only)	
Unplug headset during the call	
No outgoing audio -> audio track is ended by OS
Comment 1 Radar WebKit Bug Importer 2021-11-26 07:37:31 PST
<rdar://problem/85768002>
Comment 2 youenn fablet 2021-11-26 07:38:14 PST
I was able to reproduce audio capture stopping (or rendering?) but I did not see the audio track getting ended locally.