Bug 231421

Summary: Audio output is directed to earpiece while audio user media being fetched
Product: WebKit Reporter: Krieger <drkrieger.dev>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: Other   

Description Krieger 2021-10-08 04:33:28 PDT
The audio output on iPhone is directed to earpiece instead of loudspeaker, while the user' audio media being fetched. This happens during webRTC video calls.

Tested on:
- https://appr.tc/
- https://janus.conf.meetecho.com/videocalltest.html

With:
iPhone XS Max
Safari 15.1

steps to reproduce:
1. build up a basic webRTC call with audio and video media from both peers
2. experience the audio on the iPhone is coming from the earpiece instead of loudspeaker
additional steps:
3. disabling audio user media fetching on the iPhone
4. audio output is coming from the loudspeaker on the iPhone


The issue came forth since the 15.0 release, and reproducible on 15.0.1 as well. The previous (14) versions did not have this issue.
Comment 1 Radar WebKit Bug Importer 2021-10-11 09:54:43 PDT
<rdar://problem/84103569>
Comment 2 Krieger 2021-10-12 01:58:11 PDT

*** This bug has been marked as a duplicate of bug 230902 ***