Use google stun

This commit is contained in:
Diego Rodríguez 2017-02-01 19:07:09 -05:00
parent 7ca3d1f3fa
commit 4842592858
No known key found for this signature in database
GPG key ID: 699A21547E317F10
2 changed files with 5 additions and 5 deletions

8
app.js
View file

@ -1,8 +1,8 @@
let BUILD, VERSION, app, client, dbg, debug, er, opts, rtcConfig, trackers let BUILD, VERSION, app, client, dbg, debug, er, opts, rtcConfig, trackers
VERSION = '0.15' VERSION = '0.16'
BUILD = '3' BUILD = '1'
trackers = ['wss://tracker.btorrent.xyz', 'wss://tracker.openwebtorrent.com', 'wss://tracker.fastcast.nz'] trackers = ['wss://tracker.btorrent.xyz', 'wss://tracker.openwebtorrent.com', 'wss://tracker.fastcast.nz']
@ -13,8 +13,8 @@ opts = {
rtcConfig = { rtcConfig = {
'iceServers': [ 'iceServers': [
{ {
'url': 'stun:23.21.150.121', 'url': 'stun:stun.l.google.com:19305',
'urls': 'stun:23.21.150.121' 'urls': 'stun:stun.l.google.com:19305'
} }
] ]
} }

View file

@ -8,7 +8,7 @@
<meta name="keywords" content="βTorrent, btorrent, client, webtorrent, browser, torrent, stream, bittorrent, torrenting, sharing, filesharing"> <meta name="keywords" content="βTorrent, btorrent, client, webtorrent, browser, torrent, stream, bittorrent, torrenting, sharing, filesharing">
<meta name="author" content="Diego Rodríguez Baquero - DiegoRBaquero"> <meta name="author" content="Diego Rodríguez Baquero - DiegoRBaquero">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdn.jsdelivr.net/g/webtorrent@0,momentjs@2,angularjs@1.5(angular.min.js+angular-route.min.js+angular-sanitize.min.js),angular.ui-grid@3.1,angular.ng-notify@0.8,angular.file-upload@12"></script> <script src="https://cdn.jsdelivr.net/g/webtorrent@latest,momentjs@2,angularjs@1.5(angular.min.js+angular-route.min.js+angular-sanitize.min.js),angular.ui-grid@3.1,angular.ng-notify@0.8,angular.file-upload@12"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/g/normalize@3.0,skeleton@2.0,angular.ng-notify@0.8(ng-notify.min.css)"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/g/normalize@3.0,skeleton@2.0,angular.ng-notify@0.8(ng-notify.min.css)">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/fontawesome/4.6/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/fontawesome/4.6/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular.ui-grid/3.1/ui-grid.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/angular.ui-grid/3.1/ui-grid.min.css">