maykbrito / mini-video-me

📹 A small webcam player focused on providing an easy way to add and control your webcam during recordings.
https://maykbrito.github.io/mini-video-me/
MIT License
1.56k stars 154 forks source link

MacOS: Could not start video source #67

Closed HenriqueDerosa closed 2 years ago

HenriqueDerosa commented 2 years ago

Hey there, I'm seeing a black screen. The camera was not able to start.

The error is saying

Uncaught (in promise) DOMException: Could not start video source
image

However, when I ran it from the code it asked me to allow access to camera, and worked well. 🤔

More details

Screenshot

Screen Shot 2022-03-05 at 21 08 51
daltonmenezes commented 2 years ago

It happens here also on v3.3.1, but the v3.2.5 works properly.

HenriqueDerosa commented 2 years ago

Just tested and v3.2.5 doesn't work either 😬 Same error, same line.

To double-check I tried a few times again, removing some cache from /Library/Application Support/mini-video-me.

I found some issues on the web related to the getUserMedia, but the way it's implemented seems right! 🤔

daltonmenezes commented 2 years ago

@HenriqueDerosa make sure the app has the permission to use the camera Captura de Tela 2022-03-05 às 21 42 56

HenriqueDerosa commented 2 years ago

I don't see it there. Any idea why? 👀

image
daltonmenezes commented 2 years ago

@HenriqueDerosa Try it on terminal:

sudo tccutil reset Camera

Then, reboot your Mac and try to run the app again, if it not work, try to check the Camera tab one more time.

daltonmenezes commented 2 years ago

@HenriqueDerosa Now, It's not working for me hehe, but I just downloaded the v3.2.4 and its working. Can you also try it? 🤔

daltonmenezes commented 2 years ago

Hi @HenriqueDerosa , could you please test the new release 3.3.2? It works as well for me.

HenriqueDerosa commented 2 years ago

Just tested all of them, @daltonmenezes , not working :/

HenriqueDerosa commented 2 years ago

the actual issue might be the app not being visible on the privacy settings. 🤔

rogerpoliver commented 2 years ago

the actual issue might be the app not being visible on the privacy settings. 🤔

same problems for me with macbook air M1

oneberto commented 2 years ago

same issue here. Using version 3.3.2

ellismarjr commented 2 years ago

same here. Using the latest version and Macbook Pro M1

caiotracera commented 2 years ago

Same problem here using version 3.3.2 :( I'm using a Macbook Air m1 2020

ederssouza commented 2 years ago

Same problem in version 3.3.2 (Macbook Air m1 2020)

daltonmenezes commented 2 years ago

Hi @ederssouza @oneberto @HenriqueDerosa @caiotracera @ellismarjr @rogerpoliver Can you guys test this build please?

Also, move the extracted app to the Applications folder, then if it's not work, try to sign the app manually by performing the following on terminal:

codesign --force --deep --sign - /Applications/Mini\ Video\ Me.app

Wait until the command finishes.

If it's not work, try to give this permission to Mini Video Me:

Captura de Tela 2022-04-22 às 19 59 08

In last case, try to give the following permissions too Captura de Tela 2022-04-22 às 19 59 51 Captura de Tela 2022-04-22 às 20 00 01

caiotracera commented 2 years ago

Hey, @daltonmenezes. After doing all the mentioned steps and restating, it worked! Now I can see myself, but after stating the app, the icon is not showing neither at the dock nor "Force Quit" tab.

Captura de Tela 2022-04-25 às 07 47 03

So, how can I close the app without needing to restart?

daltonmenezes commented 2 years ago

@caiotracera here Captura de Tela 2022-04-25 às 08 52 42

birobirobiro commented 2 years ago

Awesome @daltonmenezes i'ts works for me too.

ellismarjr commented 2 years ago

@daltonmenezes I did what you ask, it works just fine now. thanks, man.

maykbrito commented 2 years ago

Should be fixed in the version 4.0.0