[snap] camera access doesn't work, even after connecting camera interface

Bug #1741253 reported by Olivier Tilloy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

$ snap info chromium
tracking: candidate
installed: 63.0.3239.108 (192) 164MB -
refreshed: 2017-12-18 22:08:42 +0100 CET

After connecting the camera interface (snap connect chromium:camera :camera), when browsing to e.g. https://davidwalsh.name/demo/camera.php I get prompted to allow camera usage, but the frame remains empty, it looks like the webcam is not capturing anything.

Tags: snap
Revision history for this message
Olivier Tilloy (osomon) wrote :

Nevermind, it works if I don't have another browser tab already capturing video.

Changed in chromium-browser (Ubuntu):
status: New → Opinion
status: Opinion → Invalid
Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

I guess that Oliver answer is a good workaround:
sudo snap connect chromium:camera :camera

But I think that this should be fixed, by default camera access should be granted, or when the notification appear, the permissions should be granted.

Changed in chromium-browser (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

A bug report is not the right place to request auto-connection of the camera interface. I have done that on the forum: https://forum.snapcraft.io/t/auto-connecting-the-camera-interface-for-the-chromium-snap/4014.

Changed in chromium-browser (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.