Skip to content

Camera left opened recording video if user closes code scanner quickly #28

@sriharsha566

Description

@sriharsha566

If we quickly reset the code scanner before a video stream is fetched, the camera tracks are not getting stopped.
Steps to reproduce:

  1. Have an icon to open popup and camera scanner video preview on this popup
  2. Close the popup before the video stream is fetched
  3. Reset the code scanner on clossing popup

Issue is in BrowserCodeReader.stopStreams()
Control is not going into the if condition to stop the media track
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions