bugfix
This commit is contained in:
parent
8e02a13d9a
commit
58be2217eb
@ -363,9 +363,9 @@ bricks.RTCP2PConnect = class {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.peers[peer.id] = peer;
|
this.peers[peer.id] = peer;
|
||||||
this.peers[peer.id][pc] = pc;
|
this.peers[peer.id].pc = pc;
|
||||||
var remoteVideo = new bricks.VideoBox();
|
var remoteVideo = new bricks.VideoBox();
|
||||||
this.peers[peer.id][video] = remoteVideo;
|
this.peers[peer.id].video = remoteVideo;
|
||||||
pc.onicecandidate = this.send_candidate.bind(this, peer);
|
pc.onicecandidate = this.send_candidate.bind(this, peer);
|
||||||
pc.oniceconnectionstatechange = this.ice_statechange.bind(this, peer);
|
pc.oniceconnectionstatechange = this.ice_statechange.bind(this, peer);
|
||||||
pc.onconnectionstatechange = this.connection_statechange.bind(this, peer);
|
pc.onconnectionstatechange = this.connection_statechange.bind(this, peer);
|
||||||
|
Loading…
Reference in New Issue
Block a user