diff --git a/public/main.js b/public/main.js index 3c1e67f..7607500 100644 --- a/public/main.js +++ b/public/main.js @@ -3,22 +3,9 @@ var Peer = window.Peer; var app = new Vue({ el: '#app', data: { - // peerConfig: { - // default: { 'iceServers': [{ 'urls': 'stun:stun.l.google.com:19302' }], 'sdpSemantics': 'unified-plan' }, - // turn: { 'iceServers': [{ 'urls': 'stun:stun.l.google.com:19302' }, { - // url: 'turn:numb.viagenie.ca', - // credential: 'muazkh', - // username: 'webrtc@live.com' - // }], 'sdpSemantics': 'unified-plan' }, - // }, peer: new Peer(localStorage.getItem('yaswvc-peerId'), { host: '/', - path: '/peerjs/myapp', - config: { 'iceServers': [{ 'urls': 'stun:stun.l.google.com:19302' }, { - url: 'turn:numb.viagenie.ca', - credential: 'muazkh', - username: 'webrtc@live.com' - }], 'sdpSemantics': 'unified-plan' } + path: '/peerjs/myapp' }), stream: null, calls: [],