Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Show local video if both iAmRecorder and iAmSipGateway are set. (#2157)

Дамян Минков6991eff963c3
diff --git a/modules/UI/recording/Recording.js b/modules/UI/recording/Recording.js
index af77e97ad8..31b23a2f8e 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);