<?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>247994</bug_id>
          
          <creation_ts>2022-11-16 14:08:48 -0800</creation_ts>
          <short_desc>Outgoing audio does not recover automatically and &quot;Microphone&quot; stays in muted state after the PSTN call if User puts browser in the background and makes PSTN call</short_desc>
          <delta_ts>2023-04-14 00:22:21 -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 16</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 16</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>247993</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=247993</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Madara Freimane">madara.freimane</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1912960</commentid>
    <comment_count>0</comment_count>
    <who name="Madara Freimane">madara.freimane</who>
    <bug_when>2022-11-16 14:08:48 -0800</bug_when>
    <thetext>Summary:
Outgoing audio does not recover automatically and &quot;Microphone&quot; stays in muted state after the PSTN call if User puts browser in the background and makes PSTN call

Tested devices:
Bug is reproducible on:
* iPhone 14 (iOS 16.2 Beta 3, build: 20C5049e) and Safari
* iPhone 11 Pro Max (iOS 16.2 Beta 3, build: 20C5049e) and Safari
* iPhone 13 (iOS 15.7.1) and Safari

Scenario:
Precondition:
User is in active WebRTC call

Steps:
1. User puts browser in the background
2. User opens Native Dialer app
3. User makes outgoing PSTN call, another User accepts it
4. User opens Safari browser, returns to WebRTC call
5. Another User ends PSTN call

Actual result:
Outgoing audio does not recover automatically and &quot;Microphone&quot; stays in muted state after the PSTN call if User puts browser in the background and makes PSTN call

Expected result:
Outgoing audio recovers automatically and &quot;Microphone&quot; changes muted state to unmuted after the PSTN call if User receives PSTN call in the middle of WebRTC call

Reproducibility:
70%

Additional information:
-Sysdiagnostics file added (bug reproduced at 23:59, 16.11.2022, EET time zone):
https://drive.google.com/file/d/1yG0Z1BxRLRK8zT-Z6GXu1Zw1EZD-3ZbV/view?usp=share_link</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914371</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-23 14:09:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/102633724&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948727</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2023-04-14 00:22:21 -0700</bug_when>
    <thetext>This is the same underlying issue as bug 247993, let&apos;s dupe it for now.

*** This bug has been marked as a duplicate of bug 247993 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>