mirror of
https://api.glitch.com/git/yaswvc
synced 2026-01-12 03:18:10 +00:00
🐦🍛 Checkpoint
./public/main.js:5975361/876
This commit is contained in:
parent
684e163d96
commit
64a6e81e7d
1 changed files with 14 additions and 1 deletions
|
|
@ -3,9 +3,22 @@ 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'
|
||||
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' }
|
||||
}),
|
||||
stream: null,
|
||||
calls: [],
|
||||
|
|
|
|||
Loading…
Reference in a new issue