Bug 236509

Summary: [Web.app] Mic gets disabled when we minimize the PWA app or we open control centre
Product: WebKit Reporter: asanand
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jameshoward, jer.noble, vfarley, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   

Description asanand 2022-02-11 07:44:57 PST
This is continuation to the bug mentioned here 
https://bugs.webkit.org/show_bug.cgi?id=233629


With iOS 15.4 beta, there is a new issue that started repro'ing
If we minimize the PWA app or if we open control center from the bottom, the mic stops working.

Steps to reproduce:-

In "Website Settings" of Safari, set the microphone's permission to "Allow". Open page "https://ashishanand26cs.github.io/samples/src/pagereload" on iOS 15.4 beta

Follow below step :-
a) Create PWA
b) Click 'Capture audio'
c) There will be a yellow panel of mic capture on top. 
d) Minimize the PWA app or open the control center
e) Observe the mic capture stops and the yellow panel disappears.
Comment 1 Radar WebKit Bug Importer 2022-02-14 19:53:25 PST
<rdar://problem/88943453>
Comment 2 asanand 2022-03-16 06:25:51 PDT
Is there any update when this issue is going to be fixed.
This is only limited to PWA app and not present on safari.
Comment 3 youenn fablet 2022-05-16 10:29:29 PDT
I can reproduce the issue. From the logs, it seems that the document is asked to stop capture, which might translate to [WKWebView _stopMediaCapture] being called.