bugfix
This commit is contained in:
parent
34de714364
commit
423aa607ba
@ -156,12 +156,12 @@ bricks.RTCClient = class extends bricks.VBox {
|
||||
to:this.peer_info
|
||||
}));
|
||||
}
|
||||
send_candidate(event){
|
||||
send_candidate(peer_info, event){
|
||||
console.log('send_candidate(), event=', event);
|
||||
if (event.candidate) {
|
||||
this.socket.send(JSON.stringify({
|
||||
type: 'iceCandidate',
|
||||
to:this.peer_info,
|
||||
to:peer_info,
|
||||
candidate: event.candidate
|
||||
}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user