<?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>230537</bug_id>
          
          <creation_ts>2021-09-21 01:11:17 -0700</creation_ts>
          <short_desc>Getting an incoming phone call on iOS 15 breaks WebRTC calls</short_desc>
          <delta_ts>2022-08-21 20:36:36 -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>FIXED</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>bodyahnedko</cc>
    
    <cc>csantos</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jameshoward</cc>
    
    <cc>joma</cc>
    
    <cc>rychouwei</cc>
    
    <cc>shivanagolajay</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>1795455</commentid>
    <comment_count>0</comment_count>
    <who name="Dag-Inge Aas">daginge</who>
    <bug_when>2021-09-21 01:11:17 -0700</bug_when>
    <thetext>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 &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. Receive an incoming phone call
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.

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795582</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-21 08:56:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/83353764&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1799242</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2021-10-01 05:31:41 -0700</bug_when>
    <thetext>Thanks for the report, I agree all 3 reports are probably tied to the same issue.
We are looking into it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806798</commentid>
    <comment_count>3</comment_count>
    <who name="Joyce Ma">joma</who>
    <bug_when>2021-10-20 13:19:17 -0700</bug_when>
    <thetext>Any updates on this? 

Our team is also currently facing these same issues that our workarounds are no longer fixing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823923</commentid>
    <comment_count>4</comment_count>
    <who name="Dag-Inge Aas">daginge</who>
    <bug_when>2021-12-14 00:34:59 -0800</bug_when>
    <thetext>I can confirm this now works as expected on iOS 15.2. Marking as resolved.

Again, thank you youenn!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1860008</commentid>
    <comment_count>5</comment_count>
    <who name="Ajay">shivanagolajay</who>
    <bug_when>2022-04-09 04:47:14 -0700</bug_when>
    <thetext>@daginge@confrere.com we are able to reproduce this issue on ios 15.3.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874494</commentid>
    <comment_count>6</comment_count>
    <who name="someDeveloperr">bodyahnedko</who>
    <bug_when>2022-06-07 07:23:55 -0700</bug_when>
    <thetext>Reproducible on IOS 15.4.1
@daginge@confrere.com</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>