浏览代码

Does not play sound notifications on the recording side.

master
damencho 6 年前
父节点
当前提交
198eba3682
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      react/features/recording/middleware.js

+ 6
- 0
react/features/recording/middleware.js 查看文件

106
     }
106
     }
107
 
107
 
108
     case RECORDING_SESSION_UPDATED: {
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
         const updatedSessionData
115
         const updatedSessionData
110
             = getSessionById(getState(), action.sessionData.id);
116
             = getSessionById(getState(), action.sessionData.id);
111
         const { PENDING, OFF, ON } = JitsiRecordingConstants.status;
117
         const { PENDING, OFF, ON } = JitsiRecordingConstants.status;

正在加载...
取消
保存