Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(filmstrip) Fixes an issue with ghost tiles appearing on the filmstrip. This was a regression of the recent changes to filmstrip reordering.

Jaya Allamsetty156dd24b14f6
diff --git a/react/features/base/participants/reducer.ts b/react/features/base/participants/reducer.ts
index 773b2f9d60..01d4260999 100644
--- a/react/features/base/participants/reducer.ts
+++ b/react/features/base/participants/reducer.ts
@@ -157,7 +157,8 @@ ReducerRegistry.register<IParticipantsState>('features/base/participants',
const { participant } = action;
const { id, previousSpeakers = [] } = participant;
const { dominantSpeaker, local } = state;
- const activeSpeakers = new Set(previousSpeakers.filter((speakerId: string) => speakerId !== local?.id));
+ const activeSpeakers = new Set(previousSpeakers
+ .filter((speakerId: string) => state.remote.has(speakerId) && (speakerId !== local?.id)));
// Only one dominant speaker is allowed.
if (dominantSpeaker) {