Browse Source

Does not play sound notifications on the recording side.

master
damencho 6 years ago
parent
commit
198eba3682
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      react/features/recording/middleware.js

+ 6
- 0
react/features/recording/middleware.js View File

@@ -106,6 +106,12 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
106 106
     }
107 107
 
108 108
     case RECORDING_SESSION_UPDATED: {
109
+        // When in recorder mode no notifications are shown
110
+        // or extra sounds are also not desired
111
+        if (getState()['features/base/config'].iAmRecorder) {
112
+            break;
113
+        }
114
+
109 115
         const updatedSessionData
110 116
             = getSessionById(getState(), action.sessionData.id);
111 117
         const { PENDING, OFF, ON } = JitsiRecordingConstants.status;

Loading…
Cancel
Save