Bug 230537

Summary: Getting an incoming phone call on iOS 15 breaks WebRTC calls
Product: WebKit Reporter: daginge
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Severity: Major CC: bodyahnedko, csantos, eric.carlson, jameshoward, joma, rychouwei, shivanagolajay, steve.mieskoski+webkit, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: iPhone / iPad   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=240651

Description daginge 2021-09-21 01:11:17 PDT
If a user gets an incoming phone call during a WebRTC call, the local media capture will break, as well as any remote media playing back (possibly due to autoplay policy).

Repro steps:
1. Go to https://webrtc.github.io/samples/src/content/peerconnection/pc1/ on iOS 15
2. Click "Start". Observe that you can see yourself.
3. Click "Call". Observe that remote media works and you can hear yourself.
4. Receive an incoming phone call
5. Observe that the call is now broken, and the page still says it's capturing.

All WebRTC services not implementing some kind of hacky workaround. This should just work.

Possibly have a dedicated "play" button that literally no other WebRTC supporting device or video call service has ever needed, which will confuse users and provide bad UX for something that should just work.

Really just the exact same thing as https://bugs.webkit.org/show_bug.cgi?id=230536, but I wanted to have two explicit bugs about this.
Comment 1 Radar WebKit Bug Importer 2021-09-21 08:56:23 PDT
Comment 2 youenn fablet 2021-10-01 05:31:41 PDT
Thanks for the report, I agree all 3 reports are probably tied to the same issue.
We are looking into it.
Comment 3 Joyce Ma 2021-10-20 13:19:17 PDT
Any updates on this? 

Our team is also currently facing these same issues that our workarounds are no longer fixing.
Comment 4 daginge 2021-12-14 00:34:59 PST
I can confirm this now works as expected on iOS 15.2. Marking as resolved.

Again, thank you youenn!
Comment 5 Ajay 2022-04-09 04:47:14 PDT
@daginge@confrere.com we are able to reproduce this issue on ios 15.3.1
Comment 6 someDeveloperr 2022-06-07 07:23:55 PDT
Reproducible on IOS 15.4.1