[Webkit-unassigned] [Bug 274599] New: REGRESSION(iOS 17.5): getUserMedia camera access doesn't work in the simulator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 23 11:04:40 PDT 2024


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

            Bug ID: 274599
           Summary: REGRESSION(iOS 17.5): getUserMedia camera access
                    doesn't work in the simulator
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ajuma at chromium.org
                CC: jer.noble at apple.com, thorton at apple.com,
                    wenson_hsieh at apple.com

Prior to iOS 17.5, getUserMedia camera access worked in the simulator (in WKWebView-based apps but not in Safari) in the sense that after the user accepted the permission prompt, the web page would receive a test pattern simulating a video stream coming from the camera.

Chrome for iOS relies on this behavior for unit and integration tests involving camera permission prompts.

However, on iOS 17.5, this no longer works -- after the user accepts the prompt, the video capture fails. In the console, we get the following output on https://webrtc.github.io/samples/src/content/getusermedia/gum/:

[Log] Got stream with constraints: – {audio: false, video: true} (user-script:29, line 1)
[Log] Using video device: Mock video device 1 (user-script:29, line 1)
[Error] A MediaStreamTrack ended due to a capture failure

-- 
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/20240523/99f1132d/attachment.htm>


More information about the webkit-unassigned mailing list