bugfix
This commit is contained in:
parent
9df6b3c33d
commit
d923b973d2
@ -460,8 +460,8 @@ bricks.RTCP2PConnect = class {
|
||||
dc.close();
|
||||
}
|
||||
pc.close();
|
||||
delete self.peers[peer.id];
|
||||
var keys = Object.keys(self.peers);
|
||||
delete this.peers[peer.id];
|
||||
var keys = Object.keys(this.peers);
|
||||
if (keys.length == 0){
|
||||
this.localVideo.get_stream()
|
||||
.getTracks().forEach(track => track.stop());
|
||||
|
Loading…
Reference in New Issue
Block a user