decodeOnceFromConstraints returns Exception Error: "NotReadableError: Could not start video source"
Opened this issue · 0 comments
giannencljsn commented
Describe the bug
The problem is the function that accesses the video device won't work properly.
To Reproduce
Steps to reproduce the behavior:
- Go to "https://zxing-js.github.io/library/examples/qr-camera/"
- Click on 'Start' button to start camera (grant permission access for camera)
- The problem in my case, it turns on the camera but seconds later, it would turn it off again.
Upon inspection through devtools the decodeOnceFromConstraints function returns Exception Error: "NotReadableError: Could not start video source"
Expected behavior
To start my camera device from any browsers, currently the video device gets detected only on Firefox.
Screenshots
Desktop (please complete the following information):
- OS: Microsoft Windows 11 Home Single Language
- Browser : Google Chrome
- Version 10.0.26100 Build 26100
