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