snapdrop

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

commit 8f5c0efd3faf649a08b6f21d0c14cb1b83414044
parent c04cdad7db20fcd66a8e191c99282d21aa1a4ca2
Author: RobinLinus <robinlinus@users.noreply.github.com>
Date:   Tue, 25 Sep 2018 18:28:30 +0200

Change STUN server

Diffstat:
Mclient/scripts/network.js | 12++++--------
1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/client/scripts/network.js b/client/scripts/network.js @@ -466,7 +466,7 @@ class FileDigester { this.progress = this._bytesReceived / this._size; if (this._bytesReceived < this._size) return; // we are done - let received = new Blob(this._buffer, { type: this._mime }); + let received = new Blob(this._buffer, { type: this._mime }); let url = URL.createObjectURL(received); this._callback({ name: this._name, @@ -496,12 +496,8 @@ RTCPeer.config = { }, { urls: 'stun:stun.l.google.com:19302' }, { - urls: 'turn:turn.bistri.com:80', - credential: 'homeo', - username: 'homeo' - }, { - urls: 'turn:turn.anyfirewall.com:443?transport=tcp', - credential: 'webrtc', - username: 'webrtc' + url: 'turn:192.158.29.39:3478?transport=tcp', + credential: 'JZEOEt2V3Qb0y27GRntt2u2PAYA=', + username: '28224511:1379330808' }] } \ No newline at end of file