Socket
Socket
Sign inDemoInstall

freeice

Package Overview
Dependencies
1
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 2.0.0

stun.json

13

index.js

@@ -54,4 +54,10 @@ /* jshint node: true */

<<< servers.js
### STUN
<<< stun.json
### TURN
<<< turn.json
**/

@@ -61,3 +67,6 @@

// if a list of servers has been provided, then use it instead of defaults
var servers = (opts || {}).servers || require('./servers');
var servers = {
stun: (opts || {}).stun || require('./stun.json'),
turn: (opts || {}).turn || require('./turn.json')
};

@@ -64,0 +73,0 @@ var stunCount = (opts || {}).stun || 2;

2

package.json
{
"name": "freeice",
"version": "1.0.1",
"version": "2.0.0",
"description": "Get free, randomized STUN and TURN servers for your WebRTC application",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -76,31 +76,33 @@ # freeice

```js
// STUN servers
exports.stun = [
'stun.l.google.com:19302',
'stun1.l.google.com:19302',
'stun2.l.google.com:19302',
'stun3.l.google.com:19302',
'stun4.l.google.com:19302',
'stun.ekiga.net',
'stun.ideasip.com',
'stun.iptel.org',
'stun.rixtelecom.se',
'stun.schlund.de',
'stunserver.org',
// 'stun.softjoys.com',
'stun.stunprotocol.org:3478',
// 'stun.turnservers.com:3478',
'stun.voiparound.com',
'stun.voipbuster.com',
'stun.voipstunt.com',
'stun.voxgratia.org'
];
### STUN
// TURN servers
exports.turn = [
];
```json
[
"stun.l.google.com:19302",
"stun1.l.google.com:19302",
"stun2.l.google.com:19302",
"stun3.l.google.com:19302",
"stun4.l.google.com:19302",
"stun.ekiga.net",
"stun.ideasip.com",
"stun.iptel.org",
"stun.rixtelecom.se",
"stun.schlund.de",
"stunserver.org",
"stun.stunprotocol.org:3478",
"stun.voiparound.com",
"stun.voipbuster.com",
"stun.voipstunt.com",
"stun.voxgratia.org"
]
```
### TURN
```json
[]
```
## License(s)

@@ -107,0 +109,0 @@

var stun = require('stun');
var servers = require('../servers').stun;
var servers = require('../stun.json');
var test = require('tape');

@@ -4,0 +4,0 @@ var MAX_RESPONSE_TIME = 10000;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc