diff --git a/public/main.js b/public/main.js index 7607500..6a7fdde 100644 --- a/public/main.js +++ b/public/main.js @@ -5,7 +5,28 @@ var app = new Vue({ data: { peer: new Peer(localStorage.getItem('yaswvc-peerId'), { host: '/', - path: '/peerjs/myapp' + path: '/peerjs/myapp', + config: { + 'iceServers': [ + { urls: 'stun:stun.l.google.com:19302' }, + { urls: 'stun:stun.stunprotocol.org:3478' }, + { urls: 'stun:stun.sipnet.net:3478' }, + { urls: 'stun:stun.ideasip.com:3478' }, + { urls: 'stun:stun.iptel.org:3478' }, + { urls: 'turn:numb.viagenie.ca', username: 'imvasanthv@gmail.com', credential: 'd0ntuseme' }, + { + urls: [ + 'turn:173.194.72.127:19305?transport=udp', + 'turn:[2404:6800:4008:C01::7F]:19305?transport=udp', + 'turn:173.194.72.127:443?transport=tcp', + 'turn:[2404:6800:4008:C01::7F]:443?transport=tcp' + ], + username: 'CKjCuLwFEgahxNRjuTAYzc/s6OMT', + credential: 'u1SQDR/SQsPQIxXNWQT7czc/G4c=' + } + ], + 'sdpSemantics': 'unified-plan', + } }), stream: null, calls: [],