This commit is contained in:
yumoqing 2024-08-20 14:33:44 +08:00
parent 84483db88f
commit aad02462b7

View File

@ -173,7 +173,7 @@ bricks.RTCClient = class extends bricks.VBox {
this.socket.send(JSON.stringify({
type:'disconnect',
to:this.peer_info
});
}));
}
this.peer_info = null;
this.localVideo.get_stream().getTracks().forEach(track => track.stop());