| Summary: | [PWA] Video stream stops when control center is opened | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | kaletise |
| Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | chrissyg, eric.carlson, jer.noble, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 16 | ||
|
Description
kaletise
2023-03-18 22:42:00 PDT
(In reply to kaletise from comment #0) > 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 this bug is mentioned in https://bugs.webkit.org/show_bug.cgi?id=252465 |