Skip to content

Commit

Permalink
CCU-309 When a speaker with no video leaves, he does not stay on disp…
Browse files Browse the repository at this point in the history
…lay as active speaker anymore
  • Loading branch information
mxszym-dolby committed Jul 31, 2023
1 parent ba5a63a commit a6f5964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/reducers/ActiveSpeakerReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ActiveSpeakerReducer = (state = defaultState, action) => {
};
case Types.STOP_ACTIVE_SPEAKER:
if (state.interval) clearInterval(state.interval);
if(state.activeSpeaker.status ==="Left") return defaultState
if(state?.activeSpeaker?.status ==="Left") return defaultState
return {
...state,
interval: null,
Expand Down

0 comments on commit a6f5964

Please sign in to comment.