[Webkit-unassigned] [Bug 217570] New: navigator.mediaDevices.getUserMedia() fails on Safari on iPhone with NotAllowedError without explanation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 11 01:02:26 PDT 2020


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

            Bug ID: 217570
           Summary: navigator.mediaDevices.getUserMedia() fails on Safari
                    on iPhone with NotAllowedError without explanation
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jujjyl at gmail.com

Calling navigator.mediaDevices.getUserMedia() fails on Safari on iOS with error

   navigator.mediaDevices.getUserMedia() failed: Unable to start video input! The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

but user was not even asked permission to use the webcam.

STR: Visit https://rexact.itch.io/safari-ios-webcam-test . The test page works on desktop Chrome, Firefox and Safari, and also on mobile Chrome and Firefox, but not in mobile Safari.

A locally examinable copy of the page can be downloaded from http://clb.confined.space/dump/safari-ios-webcam-test.zip

Expected: The user should be asked permission to use the webcam, or if due to some misconfigured security setting webcam access cannot be acquired, the error message should hint towards the reason (a searchable error identifier that would lead to Apple developer documentation for clear explanation, or error message should contain a direct link a web site that explains how to fix)

-- 
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/20201011/8e5d92bb/attachment.htm>


More information about the webkit-unassigned mailing list