Ver código fonte

Speaker stats collector throws errors when joining a conference which Jibri is already recording

dev1
alexander.soloviov 3 anos atrás
pai
commit
685c3d4b0c
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4
    4
      modules/statistics/SpeakerStatsCollector.js

+ 4
- 4
modules/statistics/SpeakerStatsCollector.js Ver arquivo

@@ -173,12 +173,12 @@ export default class SpeakerStatsCollector {
173 173
                     this.stats.users[userId] = speakerStatsToUpdate;
174 174
                     speakerStatsToUpdate.markAsHasLeft();
175 175
                 }
176
-            }
177 176
 
178
-            speakerStatsToUpdate.totalDominantSpeakerTime
179
-                = newStats[userId].totalDominantSpeakerTime;
177
+                speakerStatsToUpdate.totalDominantSpeakerTime
178
+                    = newStats[userId].totalDominantSpeakerTime;
180 179
 
181
-            speakerStatsToUpdate.setFaceExpressions(newStats[userId].faceExpressions);
180
+                speakerStatsToUpdate.setFaceExpressions(newStats[userId].faceExpressions);
181
+            }
182 182
         }
183 183
     }
184 184
 }

Carregando…
Cancelar
Salvar