Commit d2bb5223 authored by Moritz Langenstein's avatar Moritz Langenstein
Browse files

(ml5717) Use freeice ICE servers

parent bfab3ae2
......@@ -126,13 +126,11 @@ function signalbuddy(server, config) {
});
// tell client about stun and turn servers and generate nonces
client.emit('stunservers', [{
"urls": "stun:stun.l.google.com:19302"
}] /*freeice({stunCount: config.stunCount, turnCount: -1}).map(server => {
return { urls: server.url }
})*/);
client.emit('stunservers', (0, _freeice2.default)({ stunCount: config.stunCount, turnCount: -1 }).map(function (server) {
return { urls: server.url };
}));
client.emit('turnservers', [] /*freeice({stunCount: -1, turnCount: config.turnCount})*/);
client.emit('turnservers', (0, _freeice2.default)({ stunCount: -1, turnCount: config.turnCount }));
});
function describeRoom(roomName) {
......
......@@ -111,13 +111,11 @@ function signalbuddy(server, config) {
});
// tell client about stun and turn servers and generate nonces
client.emit('stunservers', [{
"urls": "stun:stun.l.google.com:19302"
}]/*freeice({stunCount: config.stunCount, turnCount: -1}).map(server => {
client.emit('stunservers', freeice({stunCount: config.stunCount, turnCount: -1}).map(server => {
return { urls: server.url }
})*/);
}));
client.emit('turnservers', []/*freeice({stunCount: -1, turnCount: config.turnCount})*/);
client.emit('turnservers', freeice({stunCount: -1, turnCount: config.turnCount}));
});
function describeRoom(roomName) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment