flathub / com.google.Chrome

https://flathub.org/apps/details/com.google.Chrome
56 stars 28 forks source link

Flatpak Chrome getUserMedia() doesn't work but native install works #266

Closed regunakyle closed 8 months ago

regunakyle commented 8 months ago

Hi, I am on Fedora 38 KDE and have installed akmod-v4l2loopback and OBS with the droidcam plugin (both installed via flatpak). I started the virtual camera and both flatpak Chrome and Firefox can detect it.

I use this site to test Javascript getUserMedia() function: https://googlechrome.github.io/samples/image-capture/grab-frame-take-photo.html

Screenshot_20240125_011723-1

The Get User Media button works on flatpak Firefox but not flatpak Chrome (it would show your camera output). In a Fedora 39 VM, I tried a native build of Chrome (google-chrome-stable from the Fedora google-chrome repo) and it works.

Screenshot_20240125_013010

From the About Chrome page: Flatpak Chrome version: Version 120.0.6099.224 (Official Build) unknown (64-bit) Native build version: Version 121.0.6167.85 (Official Build) (64-bit)

regunakyle commented 8 months ago

Hi, I am on Fedora 38 KDE and have installed akmod-v4l2loopback and OBS with the droidcam plugin (both installed via flatpak). I started the virtual camera and both flatpak Chrome and Firefox can detect it.

I use this site to test Javascript getUserMedia() function: https://googlechrome.github.io/samples/image-capture/grab-frame-take-photo.html

Screenshot_20240125_011723-1

The Get User Media button works on flatpak Firefox but not flatpak Chrome (it would show your camera output). In a Fedora 39 VM, I tried a native build of Chrome (google-chrome-stable from the Fedora google-chrome repo) and it works.

Screenshot_20240125_013010

From the About Chrome page: Flatpak Chrome version: Version 120.0.6099.224 (Official Build) unknown (64-bit) Native build version: Version 121.0.6167.85 (Official Build) (64-bit)

For some reason it works now, closing this issue.