browser icon indicating copy to clipboard operation
browser copied to clipboard

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

Open NicoP-S opened this issue 4 years ago • 1 comments

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

NicoP-S avatar Jun 30 '21 09:06 NicoP-S

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

image

myasul avatar Jan 18 '23 06:01 myasul