Use freeice for STUN and TURN.

nb/hide-http
Alex Kern 11 years ago
parent b8433ae1c4
commit 777d50bb71

@ -1,4 +1,5 @@
import uuid from 'node-uuid'
import freeice from 'freeice'
const id = uuid.v4()
@ -9,7 +10,10 @@ if (typeof window === 'undefined') {
var peer = new Peer(id, {
host: window.location.hostname,
port: window.location.port,
path: '/peer'
path: '/peer',
config: {
iceServers: freeice()
}
})
}

@ -19,10 +19,13 @@
"dependencies": {
"alt": "^0.14.4",
"babel": "^4.7.16",
"babelify": "^5.0.4",
"bases": "^0.2.1",
"browserify": "^9.0.3",
"browserify-middleware": "^5.0.2",
"classnames": "^1.2.0",
"express": "^4.12.0",
"freeice": "^2.1.2",
"morgan": "^1.5.2",
"nib": "^1.1.0",
"node-uuid": "^1.4.3",
@ -33,9 +36,7 @@
"react-router": "^0.13.1",
"socket.io": "^1.3.5",
"socket.io-client": "^1.3.5",
"stylus": "^0.50.0",
"babelify": "^5.0.4",
"browserify": "^9.0.3"
"stylus": "^0.50.0"
},
"engines": {
"node": "0.10.x"

Loading…
Cancel
Save