Bug 260344

Summary: REGRESSION (iOS 17 Beta): The incoming video remains frozen after using Siri
Product: WebKit Reporter: Madara Freimane <madara.freimane>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Unspecified   
OS: Other   

Description Madara Freimane 2023-08-17 05:54:08 PDT
Summary:
The incoming video remains frozen after using Siri

Tested devices:
The bug is reproducible on:
- iPhone 11 Pro Max (iOS 17 Public Beta 4, build: 21A5312c) and Safari
- iPhone 13 (iOS 17 Public Beta 4, build: 21A5312c) and Safari

The bug is not reproducible on:
- iPhone 14 Pro (iOS 17 Public Beta 4, build: 21A5312c) and Safari
- iPhone 13 (iOS 16.6) and Safari

Use case:
Precondition:
Browser opened on iOS 17 device
The User is in an active WebRTC call with audio and video ON

Steps:
1. iOS 17 User enables Siri in the middle of the call
2. iOS 17 User stops the Siri and enables it again
3. iOS 17 User observes the incoming video from remote User

Actual result:
The incoming video remains frozen after using Siri

Expected result:
The incoming video is still available/recovers after using Siri

Reproducibility:
100%


Additional information:
-Bug is not reproducible on iPhone 14 models, probably, because the call is not interrupted
(see bug for Siri + iPhone 14 models: https://bugs.webkit.org/show_bug.cgi?id=246333).
-The fix for the bug https://bugs.webkit.org/show_bug.cgi?id=259368 is available with iOS 17 Public Beta 4, and the described problem in this ticket is a remaining problem that is observed using the Siri.
-A sysdiagnostics file added:
https://drive.google.com/file/d/11ctihhbN4Hw_YLhCpx35eb8vVLluD74A/view?usp=sharing 
(bug reproduced at 15:39, EET, 17.08.2023.)
Comment 1 Radar WebKit Bug Importer 2023-08-17 11:27:27 PDT
<rdar://problem/114037824>
Comment 2 youenn fablet 2023-08-25 08:18:47 PDT
Looking at the sysdiagnose, I can see the following odd MediaSessionManageriOS::endInterruption call:
2023-08-17 15:39:23.589043+0300 0x1344     Default   0x0                  358    0 com.apple.WebKit.Networking: (WebKit) [com.apple.WebKit:Media] WebContent[377]: MediaSessionManageriOS::endInterruption(0)

I do not really understand how this is possible.
@Madara, which webrtc website are you using here?
Comment 3 youenn fablet 2023-09-06 10:07:48 PDT
I am not able to reproduce on my testing device (iPhone 12 Pro) incoming video freezing, either on https://webrtc.github.io/samples/src/content/peerconnection/pc1/ or Web FaceTime.
Comment 4 youenn fablet 2024-01-11 05:15:20 PST
Marking as configuration changed, please reopen if it still reproduces on your end.