steveseguin / vdo.ninja

VDO.Ninja is a powerful tool that lets you bring remote video feeds into OBS or other studio software via WebRTC.
https://vdo.ninja
Other
2.74k stars 753 forks source link

Google Chrome issue #1100

Closed ANV78 closed 9 months ago

ANV78 commented 9 months ago

Hi Steve! I meet a problem with Google Chrome. Camera on my mac is not detecting in Chrome. But in Safari no problem. I have done all possible things with Chrome (allow mic and video, re- allow this thing again many times, delete cashe, reinstal Chrome, reset Chrome settings to default ...) to fix it on my side but no results. Next step this problem might be or with Chrome or with vdo.ninja. Please help to fix it.

Here is screenshots: Chrome

Screenshot 2023-12-03 at 18 05 07

Safari

Screenshot 2023-12-03 at 18 06 28
steveseguin commented 9 months ago

Thank you for reporting the issue.

If the camera is in use by Safari alrady, it probably won't work on Chrome at the same time. Not sure if you can confirm Safari is fully closed first, but that might help.

You can also try https://vdo.ninja/alpha/, which might work better than production.

It might also be a permissions issue; check to ensure the permissions are allowed

image

ANV78 commented 9 months ago

I'm definitely sure that no other browser or app is using the camera when I try to connect with Chrome. I'm absolutely sure that I gave permission to Chrome (cam and mic). And this issue occurs on both platforms, usual and alpha.

steveseguin commented 9 months ago

If you press F12, are there red errors listed in the developer console?

If you go to the following website in Chrome, does the camera work there? https://webrtc.github.io/samples/src/content/devices/input-output/

ANV78 commented 9 months ago

In console:

Screenshot 2023-12-03 at 19 42 54

https://webrtc.github.io/samples/src/content/devices/input-output/ Camera in this link doesn't work in Chrome but working in Safari.

steveseguin commented 9 months ago

If the camera in that link doesn't work, then its not a vdo.ninja specific issue.

You can go into chrome://settings/system and turn off "use hardware acceleration when available". This will then reboot the browser. It might work now.

It still not working, make sure Chrome has permissions to access your camera and mic image

You can try restartign the computer, and not load Safari, but perhaps Chrome first.

If that fails, you can try to full uninstall Chrome and reinstall it: https://support.google.com/chrome/answer/95319?co=GENIE.Platform%3DDesktop&hl=en#zippy=%2Cmac

ANV78 commented 9 months ago

All this doesn't helped. Will try now the last suggestion - fully uninstall the Chrome.

ANV78 commented 9 months ago

fully uninstall Chrome doesn't helped.

steveseguin commented 9 months ago

Looking around online, there aren't many other options.

Someone mentions updating macOS to the newest version

As mentioned already, check that Chrome has webcam permissions image

turn off hardware accleration in chrome: image

Maybe try Chrome Beta instead of Chrome. I also have the Electron Capture app, electroncapture , which might work if Chrome-specific.

Another user suggestions running the following from Terminal, providing password as needed, then restart Chrome.

sudo killall appleh13camerad
sudo killall VDCAssistant 
sudo killall AppleCameraAssistant

Another user mentions force closing the camera process via the Activity Monitor

Apple Logo > Force Quit > Select All Apps > Force Quit.  

You'd find the app Camera process or something like that, and then force quit it image

I'm not entirely sure of other options though, but if you do find a solution, please let me know.

ANV78 commented 9 months ago

Now it's working. Thank you for your support!

I think this commands helped: sudo killall appleh13camerad sudo killall VDCAssistant sudo killall AppleCameraAssistant