<?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>259924</bug_id>
          
          <creation_ts>2023-08-08 02:56:04 -0700</creation_ts>
          <short_desc>REGRESSION (iOS 17 Beta): Incoming and outgoing video and audio are lost when iOS User navigates to Youtube and back, call becomes broken</short_desc>
          <delta_ts>2024-03-26 00:13:57 -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 17</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=243982</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>1970074</commentid>
    <comment_count>0</comment_count>
    <who name="Madara Freimane">madara.freimane</who>
    <bug_when>2023-08-08 02:56:04 -0700</bug_when>
    <thetext>Summary:
REGRESSION (iOS 17 Beta): Incoming and outgoing video and audio are lost when iOS User navigates to Youtube and back, call becomes broken

Tested devices:
Bug is reproducible on:
- iPhone 11 Pro Max (iOS 17 Developer Beta 4, build: 21A5291j) and Safari
- iPhone 11 Pro Max (iOS 17 Public Beta, build: 21A5277j) and Safari

Bug is not reproducible on:
- iPhone 13 (iOS 16.6) and Safari
- iPhone 14 (iOS 16.5.1) and Safari

Use case:
Precondition:
User is in active WebRTC call
Permissions for camera and microphone are set to &quot;Ask&quot; in browser settings

Steps:
1. iOS User navigates to Yotube and tries to listen some songs/video
2. iOS User navigates back to the browser after ~1min

Actual result:
- Incoming and outgoing video and AUDIO are lost when iOS User navigates to Youtube and back
- Sometimes the iOS 17 User is not able to  play a song/video in the Youtube/Spotify or another appp where we can listen an audio/watch the video. If iOS User navigates between videos/songs, it is possible to play a music somehow.

Expected result:
Incoming and outgoing video and audio recovers after the navigation to Youtube/another app and back

Reproducibility:
80%

Additional information:
-Sysdiagnostics file added:
https://drive.google.com/file/d/1KOvDMHjoOnLjMB55Wh8Oe0lUjkDHmv01/view?usp=sharing 
(defect reproduced on 08.08.23 at 11:50 EET)
-The bug is similar that was at the beginning with iOS 16:
https://bugs.webkit.org/show_bug.cgi?id=243982</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970157</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-08 14:57:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/113588160&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973263</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2023-08-24 06:31:29 -0700</bug_when>
    <thetext>@Madara, can you reproduce on the latest iOS 17 beta?
From the sysdiagnose, it appears we have some interruption issues similar to https://bugs.webkit.org/show_bug.cgi?id=259368, whose fix was not in 21A5291j or 21A5277j.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973264</commentid>
    <comment_count>3</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2023-08-24 06:32:49 -0700</bug_when>
    <thetext>(In reply to youenn fablet from comment #2)
&gt; @Madara, can you reproduce on the latest iOS 17 beta?

If it is reproducing, can you tell on which website (say https://webrtc.github.io/samples/src/content/peerconnection/pc1/)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973504</commentid>
    <comment_count>4</comment_count>
    <who name="Madara Freimane">madara.freimane</who>
    <bug_when>2023-08-25 06:03:10 -0700</bug_when>
    <thetext>Hi, Youenn!

I am not able to reproduce this anymore, but sometimes I see that Safari page refreshes when I come back from Youtube. Could be related to https://bugs.webkit.org/show_bug.cgi?id=260388 

Tested devices and browsers:
- iPhone 11 Pro Max (iOS 17 Developer Beta 7, build: 21A5319a) and Safari
- iPhone 14 Pro (iOS 17 Public Beta 5,, build: 21A5319a) and Safari

Thank you!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>