snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit ca9a5566af04acf0d32a4802def98b7de7bfc39e
parent 4f8ecf4aace6bc4b2dc4f57362d2cbc543f20c3a
Author: RobinLinus <robinlinus@users.noreply.github.com>
Date:   Tue, 25 Sep 2018 18:53:12 +0200

Add logging for ICE failed

Diffstat:
Mclient/scripts/network.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/client/scripts/network.js b/client/scripts/network.js @@ -244,6 +244,7 @@ class RTCPeer extends Peer { this._conn = new RTCPeerConnection(RTCPeer.config); this._conn.onicecandidate = e => this._onIceCandidate(e); this._conn.onconnectionstatechange = e => this._onConnectionStateChange(e); + this._conn.oniceconnectionstatechange = e => console.log(e); } _openChannel() {