Przeglądaj źródła

Does not play sound notifications on the recording side.

master
damencho 6 lat temu
rodzic
commit
198eba3682
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6
    0
      react/features/recording/middleware.js

+ 6
- 0
react/features/recording/middleware.js Wyświetl plik

@@ -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;

Ładowanie…
Anuluj
Zapisz