feelfreelinux / octo4a

Use your old Android device as an OctoPrint server.
GNU Affero General Public License v3.0
1.56k stars 151 forks source link

webcam stream on firefox freezes tab #436

Open rmayergfx opened 1 year ago

rmayergfx commented 1 year ago

Firefox 116.0.1 is not working together with octo4a. Installet on a FireHD 8, working fine but no webcam stream is working with firefox. The tab with octo4a will freeeze and needs to be closed. Chrome works like a charme.

jtlarson commented 1 year ago

I had a similar issue that was improved by turning off "Use hardware acceleration when available" in Firefox settings. You can also try turning down the resolution and frame rate of the webcam server.

rmayergfx commented 1 year ago

Not a solution, just a workaround. Why should i change FireFox settings, it works fine on all other sites also with the original octoprint. Resolution change does not work, still freezing.

Rolleroo commented 5 months ago

I'm having the same issue with Firefox (Ver 126.0.1). It appears to be working fine on Edge. Tried changing the video codec from the default libx264 to mpeg2video with no luck.

Appears to be a Firefox issue as the server still responds find to an Edge window running at the same time.

Looks like there is a rather elderly thread on Octoprint forums. This is a known issue. https://community.octoprint.org/t/octoprint-causing-firefox-to-hang-when-loading-webcam/5213/12

Rather not use a Chromium browser and would like the high res so a fix or work around would be good.

Rolleroo commented 2 months ago

Something has changed in Firefox or the app. Getting Firefox responding appropriately at the moment.