Open dbareis opened 2 months ago
I have updated my code so that it no longer starts automatically as per every example I have seen, and now have a start & stop button. That doesn't fail on start showing that when the "Html5Qrcode.getCameras()" then code runs the camera is not yet ready to start.
I'm not sure what this means but I tried placing "window.setTimeout(StartScanner, 5000);" in the "then" code and it also failed. For the moment it only works manually.
See the "scanapp.org" example below. The camera is a "Logitech Webcam C930e (046d:0843)".
The above make me think this is a timing issue.
The other cameras don't actually work otherwise I'd try them also.... This is on Windows 11 and Chrome with all available updates.
It doesn't seem to occur on Microsoft Edge: Version 123.0.2420.65 (Official build) (64-bit).
Chrome version: Version 123.0.6312.86 (Official Build) (64-bit)