mozmorris / react-webcam

Webcam component
https://codepen.io/mozmorris/pen/JLZdoP
MIT License
1.65k stars 281 forks source link

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

Open JosepSalvat opened 1 year ago

JosepSalvat commented 1 year ago

Please follow the general troubleshooting steps first:

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 commented 1 year ago

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.

narcello commented 1 year ago

@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.

ademono commented 1 year ago

hello @JosepSalvat , any update for this issue?

Yassdrk commented 1 month ago

any update same issue...