Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.42k forks source link

Video doesn't load in Firefox on Atom CPU #2102

Open catherineomega opened 4 years ago

catherineomega commented 4 years ago

Description We have two BeeLink BT3 mini PCs intended to power large video screens as "portals" into our Hubs instance. These computers have Intel Atom x5-Z8350 quad-core CPUs at 1.9Ghz, 4GB of RAM, and Intel HD Graphics, which...is not great. But it's certainly enough to run Hubs, albiet at around 30 FPS. However, the BeeLink clients never load webcam videos in-world. (Both are capable of streaming video otherwise, in Skype, Gchat, etc.)

To Reproduce Steps to reproduce the behavior:

  1. Create a new room in Hubs.
  2. Using Firefox, join on both a good computer and a tiny Atom netbook (presumably) or Mini pc.
  3. Click the share camera button on the good computer. The "loading" animation plays, then the video panel appears.
  4. Look at the video on the Atom computer. It never loads, instead, the loading animation plays indefinitely.

Expected behavior Even Atom-based computers should be able to show the video.

Hardware

Additional context While the computers themselves are underpowered as heck, the network speed is extremely high. 3D models load quickly, etc. (And yes, we are aware that there's a really easy fix to having super-underpowered computers.) :)

┆Issue is synchronized with this Jira Task

catherineomega commented 4 years ago

Update: webcams DO work on Chrome/Atom/Windows 10.

brianpeiris commented 4 years ago

Thanks for the report. Just to confirm, does Firefox on Atom receive the webcam stream successfully if the broadcasting computer uses Firefox? We have seen issues in the past where broadcasting video from Chrome to Firefox fails. If possible, it might be helpful if you can open the developer tools console (Ctrl+Shift+K) on the Atom PC, attempt a to share the webcam, and copy any errors you see in the console to this issue.