From 09d23bcd4335793f0d3103c7357a24be4ba0575a Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Wed, 17 Feb 2021 23:40:29 +0100 Subject: [PATCH] [mirotalk] - rename setupDevices to setupAudioVideoDevices --- www/client.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/www/client.js b/www/client.js index 171e3940..714f9c81 100644 --- a/www/client.js +++ b/www/client.js @@ -101,9 +101,6 @@ function initPeer() { return; } - // setup audio video deovices - setupDevices(); - // peer ready for WebRTC! :) console.log("Connecting to signaling server"); signalingSocket = io(signalingServer); @@ -369,7 +366,7 @@ function initPeer() { // ===================================================== // Setup audio - video devices // ===================================================== -function setupDevices() { +function setupAudioVideoDevices() { // audio - video select box audioInputSelect = get("audioSource"); audioOutputSelect = get("audioOutput"); @@ -482,7 +479,7 @@ function setupLocalMedia(callback, errorback) { resizeVideos(); // here i have access to audio - video can do it :P - setupDevices(); + setupAudioVideoDevices(); if (callback) callback(); })