From 8b086b1fa2d29ee6d83b076745385ae098cf7dd1 Mon Sep 17 00:00:00 2001 From: "Glitch (peerjs-video)" Date: Sat, 12 Sep 2020 21:03:36 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=BE=F0=9F=92=97=20Checkpoint=20./publi?= =?UTF-8?q?c/main.js:5975361/194?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/main.js b/public/main.js index 70f93c4..2b8b51a 100644 --- a/public/main.js +++ b/public/main.js @@ -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.