From 198eba36824c86d663cdcf486c8ab4dd9518b4d9 Mon Sep 17 00:00:00 2001 From: damencho Date: Wed, 8 May 2019 17:55:18 +0100 Subject: [PATCH] Does not play sound notifications on the recording side. --- react/features/recording/middleware.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/react/features/recording/middleware.js b/react/features/recording/middleware.js index fe797e57a..42a2c2a80 100644 --- a/react/features/recording/middleware.js +++ b/react/features/recording/middleware.js @@ -106,6 +106,12 @@ 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) { + break; + } + const updatedSessionData = getSessionById(getState(), action.sessionData.id); const { PENDING, OFF, ON } = JitsiRecordingConstants.status;