1
0
Fork 0
mirror of https://api.glitch.com/git/yaswvc synced 2026-01-12 03:18:10 +00:00

🌾💗 Checkpoint

./public/main.js:5975361/194
This commit is contained in:
Glitch (peerjs-video) 2020-09-12 21:03:36 +00:00
parent 14b5353c7e
commit 8b086b1fa2

View file

@ -128,8 +128,11 @@ var app = new Vue({
this.calls = this.calls.filter(c => c.connectionId === call.connectionId);
});
this.calls.push(call);
// TOOD vereinheitlichen mit selbstgestartetem stream
call.peerConnection.onTrack();
});
},
handleStream; function handleStream
gotDevices: function gotDevices(deviceInfos) {
const selectors = [document.querySelector('select#audioSource'), document.querySelector('select#audioOutput'), document.querySelector('select#videoSource')];
// Handles being called several times to update labels. Preserve values.