[Webkit-unassigned] [Bug 228317] New: Permissions for Camera expires after some time
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 27 00:00:56 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=228317
Bug ID: 228317
Summary: Permissions for Camera expires after some time
Product: WebKit
Version: Safari 14
Hardware: iPhone / iPad
OS: iOS 14
Status: NEW
Severity: Normal
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jakubesuszynski at gmail.com
CC: youennf at gmail.com
I've a case where I fetch HTML from the backend and load it in WKWebView. It ask's me for camera permission for the URL I set. This HTML also fetches a quite big script, so it's expensive operation. After that I don't kill the View Controller, only dismiss it, so when user open it again, HTML is still loaded and ready. However, after some time with camera activated (I'm throwing a track's stream as a source for <video /> element) it just stops working - preview disappears. When I try to hit navigator.mediaDevices.getUserMedia() again, it just not resolve and quits script with no error. Is it intended?
Also, Is is even possible to keep the permission after granting it once? App has camera permission, but WebView asks for it every time I init it
--
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/20210727/48ba94c3/attachment.htm>
More information about the webkit-unassigned
mailing list