From bd22f852a22717f2f4a768c57a6dd6f95aeacf81 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Wed, 29 Mar 2023 18:22:36 +0200 Subject: [PATCH] [mirotalksfu] - rollback --- public/js/Room.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/public/js/Room.js b/public/js/Room.js index 5afadba9..39d80cd0 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -72,6 +72,7 @@ let chatMessagesId = 0; let room_id = getRoomId(); let room_password = getRoomPassword(); let peer_name = getPeerName(); +let isScreenAllowed = getScreen(); let notify = getNotify(); let peer_geo = null; @@ -85,7 +86,6 @@ let isEnumerateVideoDevices = false; let isAudioAllowed = false; let isVideoAllowed = false; let isVideoPrivacyActive = false; -let isScreenAllowed = getScreen(); let isAudioVideoAllowed = false; let isParticipantsListOpen = false; let isVideoControlsOn = false; @@ -187,11 +187,7 @@ function initClient() { setupInitVideoSize(); } setupWhiteboard(); - if (peer_name) { - whoAreYou(); - } else { - initEnumerateDevices(); - } + initEnumerateDevices(); } // ####################################################