question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v3.2.0: Camera does not get freed after route change

See original GitHub issue

I am using Angular v12. ngx-scanner v3.2.0. Chrome browser under Android 9

Initialy the scanner works fine, but after a route change the camera does not get freed and therefore when entering the scanner page again it can not get a video stream resulting in an error.

When I switch back to v3.0.0 by using npm install @zxing/ngx-scanner@3.0.0 --force everything works fine again.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rvalitovcommented, Nov 15, 2021

@Daskii I’m testing the new code now… Hopefully a new release will be published in the upcoming days.

1reaction
werthdavidcommented, Oct 25, 2021

Sorry guys I don’t have time to maintain the component but if anybody can make a PR I’ll be happy to merge it and create a new release

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML5 camera does not switch off after route change in ...
I found the cause of the problem. The LocalMediaStream which was created when the camera switches on, needs to be stopped by using...
Read more >
Spot v3.x Release Notes - Boston Dynamics Support Center
This change speeds up teleoperation Spot CAM captures, and recording and playback of missions with Spot CAM captures. Missions recorded prior to 3.1...
Read more >
Interactive Live Streaming Release Notes
The local user received the onRemoteAudioStateChanged(2,6) callback after disconnecting from and reconnecting to a network even though the remote user had not ......
Read more >
Navigation | Android Developers
This means any changes made to those Bundles will not be reflected in subsequent ... androidx.navigation:navigation-*:2.5.3 is released.
Read more >
How to Migrate from Vue v.2 to Vue v.3 with a Simple Example ...
You don't have to migrate all your projects over, ... But before you can migrate a project to Vue 3 there are changes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found