Bug 259368

Summary: REGRESSION (iOS 17 Beta): The call is not unmuted automatically after the use of Siri in the middle of the WebRTC call, sometimes incoming audio is lost
Product: WebKit Reporter: Madara Freimane <madara.freimane>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: iPhone / iPad   
OS: Unspecified   

Description Madara Freimane 2023-07-20 14:33:16 PDT
Summary:
The call is not unmuted automatically after the use of Siri in the middle of the WebRTC call, sometimes incoming audio is lost

Tested devices:
The bug is reproducible on:
- iPhone 11 Pro Max (iOS 17 Public Beta, build: 21A5277j) and Safari
- iPhone 11 Pro Max (iOS 17 Public Beta, build: 21A5277j) and Google Chrome (V115.0.5790.130)
- iPhone 12 Pro (iOS 17.0) with Safari 17.0

The bug is not reproducible on:
- iPhone 13 (iOS 16.5.1) and Safari
- iPhone XS (iOS 16.4.1) and Safari

Use case:
Precondition:
Safari or Google Chrome browser opened on iOS 17 device
The User is in an active WebRTC call with audio and video ON

Steps:
1. iOS User enables Siri in the middle of the WebRTC call
2. iOS User stops to use Siri and observes the incoming audio/status of the call

Actual result:
The WebRTC call is not unmuted automatically after the use of Siri in the middle of the WebRTC call, sometimes incoming audio is lost 

Expected result:
The WebRTC call is unmuted automatically after the use of Siri in the middle of the WebRTC call, incoming and outgoing audio and video work as expected

Reproducibility:
100%


Additional information:
-With iPhone 14 models we have a different bug using Siri in the middle of the WebRTC call (a bug is still reproducible) - https://bugs.webkit.org/show_bug.cgi?id=246333
-Sysdiagnostics file added:
https://drive.google.com/file/d/1LmCCU22Mo-bM1fNs2Ey06UmP3VogdRrx/view?usp=sharing
(bug reproduced at 00:20, EET, 21.07.2023.)
Comment 1 Radar WebKit Bug Importer 2023-07-20 20:22:37 PDT
<rdar://problem/112636992>
Comment 2 youenn fablet 2023-07-25 01:47:42 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16062
Comment 3 EWS 2023-07-25 10:01:52 PDT
Committed 266293@main (727f9c1406c6): <https://commits.webkit.org/266293@main>

Reviewed commits have been landed. Closing PR #16062 and removing active labels.
Comment 4 Madara Freimane 2023-08-17 05:57:33 PDT
Bug fixed.
Couldn't reproduce using the following devices, versions:
- iPhone 11 Pro Max (iOS 17 Public Beta 4, build: 21A5312c) and Safari
- iPhone 13 (iOS 17 Public Beta 4, build: 21A5312c) and Safari

But there remains one problem described in the ticket: https://bugs.webkit.org/show_bug.cgi?id=260344

Thank you!