From f02f77fb698c8a73c48101c75a7c7a1cd7be8c9c Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 9 Jun 2014 16:20:23 -0300 Subject: [PATCH] add bitcore"s own stun/turn servers --- config.js | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/config.js b/config.js index 12a7794cf..8c0745de5 100644 --- a/config.js +++ b/config.js @@ -43,19 +43,26 @@ var defaultConfig = { 'iceServers': [ // Pass in STUN and TURN servers for maximum network compatibility { - url: 'stun:stun.l.google.com:19302' + url: 'stun:162.242.219.26' }, { - url: 'stun:stun1.l.google.com:19302' - }, { - url: 'stun:stun2.l.google.com:19302' - }, { - url: 'stun:stun3.l.google.com:19302' - }, { - url: 'stun:stun4.l.google.com:19302' - }, { - url: 'stun:stunserver.org' + url: 'turn:162.242.219.26', + username: 'bitcore', + credential: 'bitcore', } - // Options fot TURN servers with p2p communications are not possible. + // { + // url: 'stun:stun.l.google.com:19302' + // }, { + // url: 'stun:stun1.l.google.com:19302' + // }, { + // url: 'stun:stun2.l.google.com:19302' + // }, { + // url: 'stun:stun3.l.google.com:19302' + // }, { + // url: 'stun:stun4.l.google.com:19302' + // }, { + // url: 'stun:stunserver.org' + // } + // // Options fot TURN servers with p2p communications are not possible. // { // url: 'turn:numb.viagenie.ca', // credential: 'muazkh',