<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>230536</bug_id>
          
          <creation_ts>2021-09-21 01:03:11 -0700</creation_ts>
          <short_desc>Triggering Siri on iOS 15 breaks capture and remote media in WebRTC call</short_desc>
          <delta_ts>2022-05-19 08:51:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebRTC</component>
          <version>Safari 14</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=240651</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dag-Inge Aas">daginge</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>csantos</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>glefebvr</cc>
    
    <cc>joma</cc>
    
    <cc>lwarlow</cc>
    
    <cc>steve.mieskoski+webkit</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1795450</commentid>
    <comment_count>0</comment_count>
    <who name="Dag-Inge Aas">daginge</who>
    <bug_when>2021-09-21 01:03:11 -0700</bug_when>
    <thetext>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 &quot;Start&quot;. Observe that you can see yourself.
3. Click &quot;Call&quot;. Observe that remote media works and you can hear yourself.
4. Trigger Siri and say &quot;Go away&quot;.
5. Observe that the call is now broken, and the page still says it&apos;s capturing.

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

Workaround:
Possibly have a dedicated &quot;play&quot; 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&apos;s been four years now and four major releases, and we still don&apos;t have basic media reliability on iOS...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795580</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-21 08:56:04 -0700</bug_when>
    <thetext>&lt;rdar://problem/83353753&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806535</commentid>
    <comment_count>2</comment_count>
    <who name="Dag-Inge Aas">daginge</who>
    <bug_when>2021-10-20 01:09:18 -0700</bug_when>
    <thetext>Seems this is reproducible on an iPhone XR with a previous iOS 15.1 beta as well.

MRY42QN/A using 19B5060d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806536</commentid>
    <comment_count>3</comment_count>
    <who name="Dag-Inge Aas">daginge</who>
    <bug_when>2021-10-20 01:09:51 -0700</bug_when>
    <thetext>Argh, wrong bug... Too many bugs open.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1810955</commentid>
    <comment_count>4</comment_count>
    <who name="Charlie">csantos</who>
    <bug_when>2021-11-01 16:17:53 -0700</bug_when>
    <thetext>I&apos;m able to reproduce on iOS 15.1. Any updates on the fix?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1820924</commentid>
    <comment_count>5</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2021-12-07 00:31:22 -0800</bug_when>
    <thetext>(In reply to Charlie from comment #4)
&gt; I&apos;m able to reproduce on iOS 15.1. Any updates on the fix?

Could you try it on latest iOS 15.2 beta?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823514</commentid>
    <comment_count>6</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2021-12-13 07:00:42 -0800</bug_when>
    <thetext>This no longer reproduces for me in iOS 15.2.
Marking as configuration changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823517</commentid>
    <comment_count>7</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2021-12-13 07:01:39 -0800</bug_when>
    <thetext>Please reopen if you can still reproduce. Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823922</commentid>
    <comment_count>8</comment_count>
    <who name="Dag-Inge Aas">daginge</who>
    <bug_when>2021-12-14 00:30:10 -0800</bug_when>
    <thetext>Can confirm I can no longer reproduce this in iOS 15.2.

Thank you, youenn!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>