Merge pull request #78 from DiegoRBaquero/DiegoRBaquero-patch-1

STUN servers
This commit is contained in:
Diego Rodríguez Baquero 2020-04-09 23:37:09 -05:00 committed by GitHub
commit 1fac9d550e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
app.js
View file

@ -1,13 +1,13 @@
/* global WebTorrent, angular, moment, prompt, CoinHive */ /* global WebTorrent, angular, moment, prompt */
const VERSION = '0.18.0' const VERSION = '0.18.1'
const trackers = ['wss://tracker.btorrent.xyz', 'wss://tracker.openwebtorrent.com'] const trackers = ['wss://tracker.btorrent.xyz', 'wss://tracker.openwebtorrent.com']
const rtcConfig = { const rtcConfig = {
'iceServers': [ 'iceServers': [
{ {
'urls': 'stun:stun.l.google.com:19305' 'urls': ['stun:stun.l.google.com:19305', 'stun:stun1.l.google.com:19305']
} }
] ]
} }