Open christopheSeeka opened 1 year ago
What i don't get, compare to the demo, it never ask me permission, when i check it is not part of current permissions (allowed or denied)
It actually seem that it work locally, when im on localhost but once i put on the server, then its not working, nether on mobile or desktop, any idea what it could be? i'm using it in a vue3 app.
Well, it was the content security policy on my nginx middleware that was restricting use of camera... my bad :)
Please close this issue @christopheSeeka
I really don't understand what can be the issue, it's all good on desktop but on mobile I always get camera not found even though i can list all the cameras available...
Here is my code, working well on desktop:
Here the console on chrome mobile, knowing that I'm in https and the camera access is authorized: https://i.ibb.co/2P1p3zp/CONSOLE.jpg
I do have the same issue on another app where i use this lib too and it was working before. Checked the demo code where it work but can't figure what is done differently.
Thank you in advance for the help.