Open AliEasy opened 9 months ago
We might need to look into allowing a specific camera for the scanner.
I'm not sure if the web allows us to do that easily.
Any updates or available fixes?
On the web, we do not have a lot of options currently.
If you could test using a barebones web app to see if you can properly identify the "normal" camera using MediaTrackConstraints
, then I could try to integrate that into mobile_scanner. Otherwise I cannot do much in this area.
The main problem is that on the web, it is very hard to distinguish the normal camera from the wide-angle camera.
After some digging I found that if you provide environment
as the facing mode, if there are multiple cameras, the one without the torch could be the normal camera. But I am not sure if that assumption is correct.
Hi When opening camera on web, scanner uses wide camera instead of main camera. Is there any way to force it to use main camera?
My device: Samsung galaxy A51