angular-qr-scanner
angular-qr-scanner copied to clipboard
$window.localMediaStream.stop();
Looks like
$window.localMediaStream.stop();
No longer works, so I changed it to:
$window.localMediaStream.getVideoTracks()[0].stop();
And it works now. Maybe someone can find this useful.