From 2eed250da1eb114bc8490466881f76b6fa219c1f Mon Sep 17 00:00:00 2001 From: "Glitch (peerjs-video)" Date: Wed, 9 Sep 2020 12:51:41 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=9D=F0=9F=8F=A4=20Checkpoint=20./publi?= =?UTF-8?q?c/main.js:5975361/1673?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/main.js | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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: [],