bugfix
This commit is contained in:
parent
7d25d29337
commit
34de714364
@ -157,6 +157,7 @@ bricks.RTCClient = class extends bricks.VBox {
|
||||
}));
|
||||
}
|
||||
send_candidate(event){
|
||||
console.log('send_candidate(), event=', event);
|
||||
if (event.candidate) {
|
||||
this.socket.send(JSON.stringify({
|
||||
type: 'iceCandidate',
|
||||
@ -299,6 +300,7 @@ bricks.RTCClient = class extends bricks.VBox {
|
||||
this.pc.ontrack = event => {
|
||||
this.remoteVideo.set_stream(event.streams[0]);
|
||||
};
|
||||
console.log('createPeerConnection() finished');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user