add bitcore"s own stun/turn servers

This commit is contained in:
Matias Alejo Garcia 2014-06-09 16:20:23 -03:00
commit f02f77fb69

View file

@ -43,19 +43,26 @@ var defaultConfig = {
'iceServers': [ 'iceServers': [
// Pass in STUN and TURN servers for maximum network compatibility // 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: 'turn:162.242.219.26',
}, { username: 'bitcore',
url: 'stun:stun2.l.google.com:19302' credential: 'bitcore',
}, {
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: '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', // url: 'turn:numb.viagenie.ca',
// credential: 'muazkh', // credential: 'muazkh',