-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't open camera #96
Comments
Same issue on Chrome Android 86.0.4240.110 and Chrome Desktop 86.0.4240.183. No errors in DevTools. |
@fmipsylone But it works well with Chrome: 86.0.4240.114 on Android 7. That's strange when I can't press any button on popup with Android 10 |
I have the same problem on my Mi A2, the camera is not displayed. I installed firefox to work around the problem |
At the conceptual phase I was looking for an easy solution, simple to adapt to some needs to not have to reinvent the wheel. But this package seems not actively maintained. No reactivity whereas the main feature is not working. I do not fault the main developer and contributors. I understand that it takes time and thanks very much to the main developer for taking the initiative to open and sharing his code. I spent some time to look up the code, how to adapt it to our needs, check if the issue was simple to test and resolve. And In the meantime to understand the implementation I looked for MDN getUserMedia and MediaStreamTrack documentation. It appeared to me that it was very simple to implement from scratch, and finally not a good idea to rely on a non actively maintained package for a third dependency in my app. So finally, I implemented my own camera based on MDN documentation. It's quite easy to do and that perfectly meets my needs. My advice, check out getUserMedia, MediaStreamTrack and MediaStreamConstraints on MDN and do not add a dependency for take a picture. |
@MrHOY does the live demo here work for you? Can you also try this demo to see if it works? https://webrtc.github.io/samples/src/content/getusermedia/canvas/ |
@fmipsylone thanks for the information that you were able to fix it. What exactly was the issue and how did you fix it? Mind sharing the fix so that it can be added to this package? Thanks! |
@basst314 |
@MrHOY is it the same issue with this demo? Same issue that you cannot click allow? |
Yes
Yes @basst314 |
Thanks for confirming @MrHOY I‘m not sure at this point whether it is related to the OS behaving weirdly and not taking clicks for the Allow button or whether it‘s an issue with Chrome. You could try with Firefox to see if it makes a difference. Please let me know if that works. Apart from that, as this is not an issue with this library, there‘s nothing else I could do. |
@basst314 Firefox works well, It's strange, but there is nothing more we can do about it. Thank you for your support. |
I copy code from live demo and can't not open camera on my phone, browser show popup but I can't press Allow or Block
Android: 10
Chrome: 86.0.4240.114
The text was updated successfully, but these errors were encountered: