From 374917a668b93cd24dd869d1309ce7eb52e0f358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez?= Date: Fri, 3 Feb 2017 12:35:09 -0500 Subject: [PATCH] Readd trackers --- app.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/app.js b/app.js index 853cd48..d8591c6 100644 --- a/app.js +++ b/app.js @@ -1,21 +1,12 @@ /* global WebTorrent, angular, moment, prompt */ -const VERSION = '0.17.1' +const VERSION = '0.17.2' -const tracker = ['wss://tracker.btorrent.xyz'] +const tracker = ['wss://tracker.btorrent.xyz', 'wss://tracker.openwebtorrent.com', 'wss://tracker.fastcast.nz'] const opts = { announce: tracker } -const rtcConfig = { - 'iceServers': [ - { - 'url': 'stun:stun.l.google.com:19305', - 'urls': 'stun:stun.l.google.com:19305' - } - ] -} - const debug = window.localStorage.getItem('debug') != null const dbg = function (string, item, color) { @@ -34,7 +25,6 @@ const er = function (err, item) { dbg(err, item, '#FF0000') } dbg(`Starting... v${VERSION}`) const client = new WebTorrent({ - rtcConfig: rtcConfig, tracker: opts })