Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

controls.stop() DOMException: The associated Track is in an invalid state #67

Open
NicoP-S opened this issue Jun 30, 2021 · 1 comment

Comments

@NicoP-S
Copy link

NicoP-S commented Jun 30, 2021

I get this DOMException: The associated Track is in an invalid state in chrome on mobile devices.

Using the BrowserMutliFormatReader and call the function decodeFromDevice the error occures after calling controls.stop()
After this the camera is still running and the scanning also

Maybe it is something similar to #53

Fix: scanner controls method .stop() generating exception due to scope issues.

image

@myasul
Copy link

myasul commented Jan 18, 2023

Any updates on this? We are experiencing DOMException as well due to controls.stop() not being awaitable.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants