Bug 230536

Summary: Triggering Siri on iOS 15 breaks capture and remote media in WebRTC call
Product: WebKit Reporter: daginge
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Severity: Major CC: csantos, eric.carlson, glefebvr, joma, luke, 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:03:11 PDT
If a user accidentally triggers Siri 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. Trigger Siri and say "Go away".
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.

Come on Apple, it's been four years now and four major releases, and we still don't have basic media reliability on iOS...
Comment 1 Radar WebKit Bug Importer 2021-09-21 08:56:04 PDT
Comment 2 daginge 2021-10-20 01:09:18 PDT
Seems this is reproducible on an iPhone XR with a previous iOS 15.1 beta as well.

MRY42QN/A using 19B5060d
Comment 3 daginge 2021-10-20 01:09:51 PDT
Argh, wrong bug... Too many bugs open.
Comment 4 Charlie 2021-11-01 16:17:53 PDT
I'm able to reproduce on iOS 15.1. Any updates on the fix?
Comment 5 youenn fablet 2021-12-07 00:31:22 PST
(In reply to Charlie from comment #4)
> I'm able to reproduce on iOS 15.1. Any updates on the fix?

Could you try it on latest iOS 15.2 beta?
Comment 6 youenn fablet 2021-12-13 07:00:42 PST
This no longer reproduces for me in iOS 15.2.
Marking as configuration changed.
Comment 7 youenn fablet 2021-12-13 07:01:39 PST
Please reopen if you can still reproduce. Thanks
Comment 8 daginge 2021-12-14 00:30:10 PST
Can confirm I can no longer reproduce this in iOS 15.2.

Thank you, youenn!