diff --git a/client/peer.js b/client/peer.js index 69eac3b..a99db7b 100644 --- a/client/peer.js +++ b/client/peer.js @@ -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' + }] } }) } diff --git a/package.json b/package.json index b3fc148..906afab 100644 --- a/package.json +++ b/package.json @@ -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",