[Webkit-unassigned] [Bug 254129] New: [PWA] Video stream stops when control center is opened

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 18 22:42:00 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=254129

            Bug ID: 254129
           Summary: [PWA] Video stream stops when control center is opened
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kaletise at gmail.com
                CC: youennf at gmail.com

Context:
I have a web app with a hash router. Once I am done analysing the camera stream and showing results my router changes the hash to a result route. When I come back to the camera view, I am prompted for the camera permissions again, even though I never left the web app. This behaviour does not happen in Safari for iOS.
I am working on a web app that uses camera. I noticed that when the application is running in standalone PWA mode, the video stream stops when either control center or notification center is opened, or even being opened. After this happens, user have to forcefully close the PWA from App Switcher and open it again in order for PWA to start the video stream again.

Steps to reproduce:
1) Open https://qrcodescan.in in Safari and add it to the home screen
3) Open the PWA from home screen and give it camera permission once it asks
4) Open control center/notification center, then close it

In standalone mode: video stream stops until the app is forcefully closed and reopened
In browser mode: video stream does not stop

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230319/e411cb8b/attachment.htm>


More information about the webkit-unassigned mailing list