react-webcam icon indicating copy to clipboard operation
react-webcam copied to clipboard

onUserMedia doesn't trigger on some computers since last chromium version

Open JosepSalvat opened this issue 2 years ago • 4 comments

Please follow the general troubleshooting steps first:

  • [x] Is your app running over HTTPS? (please provide the URL if possible)
  • [x] Have you tried running the demo (https://codepen.io/mozmorris/pen/JLZdoP) on your device? (yes, and it works...)
  • [x] Checked the latest "Can I use" compatbility table? (https://caniuse.com/stream)

Bug reports:

We don't know how to reproduce it, because it's not working on some computers and other it's working.

We're using the same environment (3 different ones).

  1. It was working last wednsday-thursdays.
  2. We've tried 6 computers, 4 of them works fine but 2 of them no.
  3. It works on Linux, Windows, Mac. Computers that doesn't work are using Windows and Mac.
  4. Doesn't work on Chrome, Opera, Edge. But works on Firefox.
  5. onUserMedia doesn't do the callback. But if we don't use the onUserMedia it's the same behaviour, we don't see any video.
  6. We allow video and audio, still doesn't work.

JosepSalvat avatar Oct 11 '22 14:10 JosepSalvat

Some updates, on Windows Chrome last version. The problem was the mute prop (I deleted it). Now I'm trying to solve the same problem but on chrome with MacOS. I thought it was the same problem but it seems that it's not.

I'll post more updates.

JosepSalvat avatar Oct 14 '22 09:10 JosepSalvat

@JosepSalvat any updates? My react-webcam works on firefox but didn't work on chrome, even with permissions granted. A isolated component on storybook works fine, but when I use it on page, doesn't work.

narcello avatar Nov 21 '22 17:11 narcello

hello @JosepSalvat , any update for this issue?

ademono avatar Mar 30 '23 02:03 ademono

any update same issue...

Yassdrk avatar Jul 23 '24 08:07 Yassdrk