stop track
This commit is contained in:
1 parent
46b4ef4d80
commit
efa6b3a069
1 file changed
+3
@@ -133,6 +133,9 @@ class Video {
|
||||
this._singleSetup = null;
|
||||
// by clearing refs to video and track, we should lose our hold over the camera
|
||||
this._video = null;
|
||||
if (this._track) {
|
||||
this._track.stop();
|
||||
}
|
||||
this._track = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user