mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-18 07:12:15 +00:00
Add logging for ICE failed
This commit is contained in:
@@ -244,6 +244,7 @@ class RTCPeer extends Peer {
|
|||||||
this._conn = new RTCPeerConnection(RTCPeer.config);
|
this._conn = new RTCPeerConnection(RTCPeer.config);
|
||||||
this._conn.onicecandidate = e => this._onIceCandidate(e);
|
this._conn.onicecandidate = e => this._onIceCandidate(e);
|
||||||
this._conn.onconnectionstatechange = e => this._onConnectionStateChange(e);
|
this._conn.onconnectionstatechange = e => this._onConnectionStateChange(e);
|
||||||
|
this._conn.oniceconnectionstatechange = e => console.log(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
_openChannel() {
|
_openChannel() {
|
||||||
|
|||||||
Reference in New Issue
Block a user