mirror of
https://api.glitch.com/git/yaswvc
synced 2026-01-12 05:08:11 +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({
|
var app = new Vue({
|
||||||
el: '#app',
|
el: '#app',
|
||||||
data: {
|
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'), {
|
peer: new Peer(localStorage.getItem('yaswvc-peerId'), {
|
||||||
host: '/',
|
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,
|
stream: null,
|
||||||
calls: [],
|
calls: [],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue