This commit is contained in:
yumoqing 2024-08-21 16:23:50 +08:00
parent b218d7e62e
commit 2d3757b348

View File

@ -157,7 +157,7 @@ bricks.RTCClient = class extends bricks.VBox {
} }
send_candidate(peer_info, event){ send_candidate(peer_info, event){
if (event.candidate) { if (event.candidate) {
var candidate = event.candidate.candidate; var candidate = event.candidate;
console.log('send_candidate(), candidate=', candidate); console.log('send_candidate(), candidate=', candidate);
this.socket.send(JSON.stringify({ this.socket.send(JSON.stringify({
type: 'iceCandidate', type: 'iceCandidate',