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.