[Webkit-unassigned] [Bug 221031] New: getUserMedia on iOS 14.4 with WKWebView still produces a NotAllowedError

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 27 03:11:08 PST 2021


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

            Bug ID: 221031
           Summary: getUserMedia on iOS 14.4 with WKWebView still produces
                    a NotAllowedError
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: marcbonsels at gmail.com
                CC: youennf at gmail.com

I'm trying to use getUserMedia on iOS 14.4 with WKWebView within a Cordova app. I'm using the HelloWorld app from Cordova to reproduce this.

I provided the NSCameraUsageDescription string.

I'm using the sample code as provided on https://webkit.org/blog/11353/mediarecorder-api/ (but with audio set to false).

When I first launch the app and click the button to start the stream, the permission request comes up, which I confirm. Then this error occurs: "NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission"

Afterwards the permission request will not come again, only after I re-install the whole app.

Am I doing anything wrong? From what I understood, getUserMedia should be available in iOS 14.4 for apps based on WKWebView, right?

-- 
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/20210127/e1d6b60d/attachment.htm>


More information about the webkit-unassigned mailing list