Use our own home-grown TURN server.

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

@ -1,5 +1,4 @@
import uuid from 'node-uuid'
import freeice from 'freeice'
const id = uuid.v4()
@ -12,7 +11,17 @@ if (typeof window === 'undefined') {
port: window.location.port,
path: '/peer',
config: {
iceServers: freeice()
iceServers: [{
'url': 'stun:stun.l.google.com:19302'
}, {
'url': 'turn:52.12.203.39:80',
'username': 'file',
'credential': 'pizza'
}, {
'url': 'turn:52.12.203.39:443',
'username': 'file',
'credential': 'pizza'
}]
}
})
}

@ -25,7 +25,6 @@
"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",

Loading…
Cancel
Save