Skip to content

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

Enables all recording/livestreaming notifications in sip gw mode.

damencho775c531fe7ad
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index 7619f694a0..35d523c472 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -177,10 +177,10 @@ UI.start = function() {
// in case of iAmSipGateway keep local video visible
if (!config.iAmSipGateway) {
VideoLayout.setLocalVideoVisible(false);
+ APP.store.dispatch(setNotificationsEnabled(false));
}
APP.store.dispatch(setToolboxEnabled(false));
- APP.store.dispatch(setNotificationsEnabled(false));
UI.messageHandler.enablePopups(false);
}
};
diff --git a/react/features/recording/middleware.js b/react/features/recording/middleware.js
index 8d4141b5f5..dbdc1a2539 100644
--- a/react/features/recording/middleware.js
+++ b/react/features/recording/middleware.js
@@ -127,7 +127,13 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
case RECORDING_SESSION_UPDATED: {
// When in recorder mode no notifications are shown
// or extra sounds are also not desired
- if (getState()['features/base/config'].iAmRecorder) {
+ // but we want to indicate those in case of sip gateway
+ const {
+ iAmRecorder,
+ iAmSipGateway
+ } = getState()['features/base/config'];
+
+ if (iAmRecorder && !iAmSipGateway) {
break;
}