Closed devakone closed 6 years ago
Does the demo page have the same issue you are having? https://ackerapple.github.io/ack-angular-webcam/
I have no immediate tips for you
Reminders, https is required. User must allow camera access...
Ya know, check the basics
This package uses standard HTML5 getUserMedia() calls.
Check that your platform is covered, I'm sure it is: https://caniuse.com/#search=getusermedia
On https://ackerapple.github.io/ack-angular-webcam/ it works for the front camera and fails for the back. I am also using https.
On a side note, how does the fallback mechanism works, like in this case, if onCamError is triggered, should the fallback kick in immediately?
The swf flash fallback is auto engaged without ever calling the onCamError bindings.
On Android I dont think you use the facingMode... Thats iOs only doing things different from all other browsers. On Android, Chrome and modern behaving browser, you select the camera you want from the devices list, again NOT using facingMode what so ever.
Goog luck. If the demo works, its your fault your code doesn't work ;)
Is this issue closable?
Yes you can go ahead and close thanks!
On https://ackerapple.github.io/ack-angular-webcam/ it works for the front camera and fails for the back. I am also using https.
@devakone Were you able to solve this?
@arjunkm honestly I don't remember, it's been a minute, I ended up switching to an <input type=file
to trigger the camera on mobile browsers, I did not need the video camera after all.
Thanks for this very useful lib. I am running into an issue where on some devices (Android 7.0), I am unable to start the camera using Chrome with the error:
NotReadableError: Could not start source
The camera is not being used by any other device.
Any pointers on what could be the issue and how to resolve it?