Pārlūkot izejas kodu

Does not play sound notifications on the recording side.

master
damencho 6 gadus atpakaļ
vecāks
revīzija
198eba3682
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6
    0
      react/features/recording/middleware.js

+ 6
- 0
react/features/recording/middleware.js Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt