Bug 236509 - [Web.app] Mic gets disabled when we minimize the PWA app or we open control centre
Summary: [Web.app] Mic gets disabled when we minimize the PWA app or we open control c...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-11 07:44 PST by asanand
Modified: 2022-05-16 10:29 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.