Skip to content

Zxing js how to stop scanning properly #340

@FFParf

Description

@FFParf

I am integrating Zxing js to my web application. To stop the camera i am calling codeReader.Reset()

But that gives me this error(when i call it before scanning any codes): 'Video stream has ended before any code could be detected.'

My question is, is codeReader.Reset() the right way to stop the scanner/video? and what to do about that error?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions