qr-scanner
qr-scanner copied to clipboard
Scan not working if camera already started
Hi,
In my app I already have the camera started.
When I call qrScanner.start();
I don't get any result , although if I switch tab then return to my app's tab the scan works. Also, if I call my startCamera();
function just before qrScanner.start();
it also works, but there is a slight flash on screen whilst the camera is restarted.
Is there a way to specify an already started camera stream and just use that? Also, calling qrScanner.stop();
shuts down the camera stream I've managed to fix that by editing the source files, but might be a good idea to have an option there in case a dev wants to keep the camera running.
Any help is much appreciated.