FS-7657 #resolve #comment since the one in there doesn't work, we'll just take it out. Note you can pass an array of stun servers, including TURN, to the verto when you start it up. (see verto.js where iceServers is passed)

This commit is contained in:
Anthony Minessale
2015-06-15 15:48:58 -05:00
parent a9b6caca9b
commit 538c28afea
3 changed files with 10 additions and 20 deletions

View File

@@ -575,11 +575,6 @@
url: !moz ? 'stun:stun.l.google.com:19302' : 'stun:23.21.150.121'
};
var TURN = {
url: 'turn:homeo@turn.bistri.com:80',
credential: 'homeo'
};
var iceServers = null;
if (options.iceServers) {
@@ -599,12 +594,6 @@
};
if (!moz && !tmp) {
if (parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2]) >= 28) TURN = {
url: 'turn:turn.bistri.com:80',
credential: 'homeo',
username: 'homeo'
};
iceServers.iceServers = [STUN];
}
}