guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.86k stars 236 forks source link

Webcam support #331

Open dan-developer opened 4 years ago

dan-developer commented 4 years ago

Is there a way to enable webcam support? For example, to run the page: https://pt.webcamtests.com/

guysoft commented 4 years ago

Do you want enable the camera in a distro you are building? Or as a user flashing one of the existing images?

dan-developer commented 4 years ago

I think I was not very clear, if I have the camera activated and enter a page that requests access to the camera, will the full page give them permission or not? This is a problem that I always see with systems that are a browser, generally it does not support WebRTC.

guysoft commented 4 years ago

Ia this a permissions problem or a problem chromium that is shipped doesn't support something?

dan-developer commented 4 years ago

Chrome does not warn you about the page requesting access to the web cam. Do the test yourself, go to https://en.webcamtests.com/ and the webcam will not be recognized, but not because it does not exist, but because chrome is not allowing or asking if it is to allow access to the device .

guysoft commented 4 years ago

Ok, sounds like a chromium issue, does it happen on your computer and not only on the Pi? you can open an issue on the chromium issue tracker: https://bugs.chromium.org/p/chromium/issues/list

dan-developer commented 4 years ago

On the computer it works normally. In the raspberry the use of the webcam is not requested, and therefore if it is not requested it is not released.

image

guysoft commented 4 years ago

@dan-developer If you press on the Pi ctrl+T and open a window that is not in kiosk mode, and then use that window, does it work then?

guysoft commented 4 years ago

Any news on the workaround I suggested above?