From 6991eff963c390917a6105c607816561f996fe7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BC=D1=8F=D0=BD=20=D0=9C=D0=B8=D0=BD=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Fri, 10 Nov 2017 15:40:53 -0600 Subject: [PATCH] Show local video if both iAmRecorder and iAmSipGateway are set. (#2157) --- modules/UI/recording/Recording.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/UI/recording/Recording.js b/modules/UI/recording/Recording.js index af77e97ad..31b23a2f8 100644 --- a/modules/UI/recording/Recording.js +++ b/modules/UI/recording/Recording.js @@ -302,7 +302,12 @@ const Recording = { if (config.iAmRecorder) { VideoLayout.enableDeviceAvailabilityIcons( APP.conference.getMyUserId(), false); - VideoLayout.setLocalVideoVisible(false); + + // in case of iAmSipGateway keep local video visible + if (!config.iAmSipGateway) { + VideoLayout.setLocalVideoVisible(false); + } + APP.store.dispatch(setToolboxEnabled(false)); APP.store.dispatch(setNotificationsEnabled(false)); APP.UI.messageHandler.enablePopups(false);