diff --git a/bower.json b/bower.json index 9512c0007..1a62c0715 100644 --- a/bower.json +++ b/bower.json @@ -10,7 +10,7 @@ "angular-foundation": "*", "angular-route": "~1.2.14", "angular-qrcode": "~3.1.0", - "peerjs": "~0.3.8", + "peerjs": "=0.3.8", "angular-mocks": "~1.2.14", "mocha": "~1.18.2", "chai": "~1.9.1", diff --git a/config.js b/config.js index cfabaaa7e..d6adfb2df 100644 --- a/config.js +++ b/config.js @@ -28,7 +28,7 @@ var defaultConfig = { // other PeerJS config maxPeers: 15, - debug: 1, + debug: 3, // Network encryption config sjclParams: { @@ -43,20 +43,6 @@ var defaultConfig = { 'iceServers': [ // Pass in STUN and TURN servers for maximum network compatibility { - url: 'stun:stun01.sipphone.com' - }, { - url: 'stun:stun.ekiga.net' - }, { - url: 'stun:stun.fwdnet.net' - }, { - url: 'stun:stun.ideasip.com' - }, { - url: 'stun:stun.iptel.org' - }, { - url: 'stun:stun.rixtelecom.se' - }, { - url: 'stun:stun.schlund.de' - }, { url: 'stun:stun.l.google.com:19302' }, { url: 'stun:stun1.l.google.com:19302' @@ -68,31 +54,21 @@ var defaultConfig = { url: 'stun:stun4.l.google.com:19302' }, { url: 'stun:stunserver.org' - }, { - url: 'stun:stun.softjoys.com' - }, { - url: 'stun:stun.voiparound.com' - }, { - url: 'stun:stun.voipbuster.com' - }, { - url: 'stun:stun.voipstunt.com' - }, { - url: 'stun:stun.voxgratia.org' - }, { - url: 'stun:stun.xten.com' - }, { - url: 'turn:numb.viagenie.ca', - credential: 'muazkh', - username: 'webrtc@live.com' - }, { - url: 'turn:192.158.29.39:3478?transport=udp', - credential: 'JZEOEt2V3Qb0y27GRntt2u2PAYA=', - username: '28224511:1379330808' - }, { - url: 'turn:192.158.29.39:3478?transport=tcp', - credential: 'JZEOEt2V3Qb0y27GRntt2u2PAYA=', - username: '28224511:1379330808' } + // Options fot TURN servers with p2p communications are not possible. + // { + // url: 'turn:numb.viagenie.ca', + // credential: 'muazkh', + // username: 'webrtc@live.com' + // }, { + // url: 'turn:192.158.29.39:3478?transport=udp', + // credential: 'JZEOEt2V3Qb0y27GRntt2u2PAYA=', + // username: '28224511:1379330808' + // }, { + // url: 'turn:192.158.29.39:3478?transport=tcp', + // credential: 'JZEOEt2V3Qb0y27GRntt2u2PAYA=', + // username: '28224511:1379330808' + // } ] } }, @@ -103,7 +79,7 @@ var defaultConfig = { totalCopayers: 3, spendUnconfirmed: 1, verbose: 1, - reconnectDelay: 5000, + reconnectDelay: 500, }, // blockchain service API config diff --git a/index.html b/index.html index ae7a13613..7abd51290 100644 --- a/index.html +++ b/index.html @@ -194,10 +194,6 @@ Authenticating and looking for peers... -