bugfix
This commit is contained in:
parent
adcec6fe58
commit
a03fd9bb8e
@ -280,6 +280,7 @@ bricks.RTCClient = class extends bricks.VBox {
|
|||||||
console.log(d.type, 'no branch defined');
|
console.log(d.type, 'no branch defined');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (this.pc){
|
||||||
console.log('signal_status=', this.pc.signalingState,
|
console.log('signal_status=', this.pc.signalingState,
|
||||||
'iceconnectstate=', this.pc.iceConnectionState,
|
'iceconnectstate=', this.pc.iceConnectionState,
|
||||||
'connectstate=', this.pc.connectionState,
|
'connectstate=', this.pc.connectionState,
|
||||||
@ -287,6 +288,7 @@ bricks.RTCClient = class extends bricks.VBox {
|
|||||||
'peerConnectionState=', this.pc.peerConnectionState,
|
'peerConnectionState=', this.pc.peerConnectionState,
|
||||||
'icegatheringstate=', this.pc.iceGatheringState);
|
'icegatheringstate=', this.pc.iceGatheringState);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 创建 PeerConnection
|
// 创建 PeerConnection
|
||||||
async createPeerConnection(to_info) {
|
async createPeerConnection(to_info) {
|
||||||
|
Loading…
Reference in New Issue
Block a user