This commit is contained in:
yumoqing 2024-08-22 17:54:28 +08:00
parent 230d5974dc
commit ea392ea35c

View File

@ -280,11 +280,12 @@ bricks.RTCClient = class extends bricks.VBox {
console.log(d.type, 'no branch defined'); console.log(d.type, 'no branch defined');
break; break;
} }
console.log('signal_status=', this.pc.RTCSignalingState, console.log('signal_status=', this.pc.signalingState,
'iceconnectstate=', this.pc.RTCIceConnectionState, 'iceconnectstate=', this.pc.iceConnectionState,
'connectstate=', this.pc.connectionState, 'connectstate=', this.pc.connectionState,
'peerConnectionState=', this.pc.RTCPeerConnectionState, 'cantrickleIceCandidate=', this.pc.canTrickleIceCandidates)
'icegatheringstate=', this.pc.RTCIceGatheringState); 'peerConnectionState=', this.pc.peerConnectionState,
'icegatheringstate=', this.pc.iceGatheringState);
} }
// 创建 PeerConnection // 创建 PeerConnection