zxing-js / browser

ZXing for JS's browser layer with decoding implementations for browser.
MIT License
213 stars 43 forks source link

Please provide the reset() method on BrowserCodeReader again #92

Closed Ric16Fr closed 2 years ago

Ric16Fr commented 2 years ago

Dear Zxing Team, In the zxing/libary BrowserCodeReader was an reset() Method to reset the Reader. I really need this method but unfortunately it’s not provided in the /browser Version yet. Please implement it there too, so I can switch to the new Version. Thanks so much! Kind regards Richard

risalfajar commented 2 years ago

There's releaseAllStreams() that you can use.

Just call the static method:

BrowserMultiFormatReader.releaseAllStreams()
Ric16Fr commented 2 years ago

Oh thats great, thank you so much!