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');
break;
}
console.log('signal_status=', this.pc.RTCSignalingState,
'iceconnectstate=', this.pc.RTCIceConnectionState,
console.log('signal_status=', this.pc.signalingState,
'iceconnectstate=', this.pc.iceConnectionState,
'connectstate=', this.pc.connectionState,
'peerConnectionState=', this.pc.RTCPeerConnectionState,
'icegatheringstate=', this.pc.RTCIceGatheringState);
'cantrickleIceCandidate=', this.pc.canTrickleIceCandidates)
'peerConnectionState=', this.pc.peerConnectionState,
'icegatheringstate=', this.pc.iceGatheringState);
}
// 创建 PeerConnection