UNPKG

287 BJavaScriptView Raw
1var freeice = require('./');
2
3// choose a single stun server
4console.log(freeice());
5
6// choose 2 stun servers
7console.log(freeice({ stun: 2 }));
8
9// choose 2 stun servers and 1 turn server
10// will work once if we end up with free turn servers
11console.log(freeice({ stun: 2, turn: 1 }));
\No newline at end of file