WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 244004
274730
[GTK] WebRTC: getUserMedia fails with missing camera access in bubblewrap sandbox
https://bugs.webkit.org/show_bug.cgi?id=274730
Summary
[GTK] WebRTC: getUserMedia fails with missing camera access in bubblewrap san...
Byoungchan Lee
Reported
2024-05-26 12:05:22 PDT
Steps to reproduce: 1. Build WebKitGTK from source with ENABLE_BUBBLEWRAP_SANDBOX=ON. 2. Run the built WebKitGTK application. 3. Connect a webcam to your system. 4. Open this URL:
https://webrtc.github.io/samples/src/content/getusermedia/resolution/
5. Click on 'VGA' or 'HD' button. Expected result: A permission request dialog is displayed to grant camera access to the application. Actual result: The application doesn't request camera access. On standard output, the following message is printed: "Video capture was requested but no device was found amongst 0 devices". Additional information: Disabling bubblewrap sandbox (ENABLE_BUBBLEWRAP_SANDBOX=OFF) during WebKitGTK build resolves the issue. However, this might introduce other problems, but it's a different story. Version: $ git rev-parse --short HEAD 92bcd775f93e
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2024-05-27 05:17:51 PDT
It probably tries to access the device directly (not allowed) rather than going through the camera portal (which is mandatory). (Be aware you're going to run into a lot more problems than this if trying to use WebRTC. E.g. the sandbox will block network access,
bug #244002
.)
Philippe Normand
Comment 2
2024-05-27 06:30:25 PDT
*** This bug has been marked as a duplicate of
bug 244004
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug