auto stop screen capture
This commit is contained in:
parent
524c4602ef
commit
2033a6769c
|
@ -381,6 +381,9 @@ function swap() {
|
|||
switchStreamHelper(stream);
|
||||
});
|
||||
} else {
|
||||
|
||||
VideoChat.localVideo.srcObject.getTracks().forEach(track => track.stop());
|
||||
|
||||
navigator.mediaDevices.getUserMedia({
|
||||
video: true,
|
||||
audio: true
|
||||
|
|
Loading…
Reference in New Issue