[Webkit-unassigned] [Bug 215884] New: getUserMedia recurring permissions prompts in standalone when hash changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 27 02:41:40 PDT 2020


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

            Bug ID: 215884
           Summary: getUserMedia recurring permissions prompts in
                    standalone when hash changes
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nfckngspmpls 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.


Current behaviour:
In standalone mode, iOS is revoking the camera permissions every time the hash changes.

Expected behaviour:
In browser mode, once I am granted the camera use by the user, I can change the hash without loosing the camera permissions.

Steps to reproduce:
1) Add a video tag to page
2) Ask for camera permissions and attach the stream to the video tag
3) Add a <a href="#"> to page
4) click on link

In standalone mode: video stream is gone.
In browser mode: video stream is still there.

Current workaround:
Set the Vue router to abstract mode.

-- 
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/20200827/beaa70e4/attachment.htm>


More information about the webkit-unassigned mailing list