mirror of https://github.com/BTCPrivate/copay.git
Turn off camera after close on desktop
This commit is contained in:
parent
76b1b1193c
commit
42c736b696
|
@ -66,6 +66,8 @@ angular.module('copayApp.directives')
|
|||
for (var i = 0; i < localMediaStreamTrack.length; i++) {
|
||||
localMediaStreamTrack[i].stop();
|
||||
}
|
||||
} else {
|
||||
localMediaStream.stop();
|
||||
}
|
||||
localMediaStream = null;
|
||||
video.src = '';
|
||||
|
|
Loading…
Reference in New Issue