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(face-landmarks): Check mute state from redux before starting detection.

Jaya Allamsetty95a3a8de0b12
diff --git a/react/features/face-landmarks/middleware.ts b/react/features/face-landmarks/middleware.ts
index 2fb9872b80..ed921db159 100644
--- a/react/features/face-landmarks/middleware.ts
+++ b/react/features/face-landmarks/middleware.ts
@@ -63,7 +63,7 @@ MiddlewareRegistry.register((store: IStore) => (next: Function) => (action: any)
return next(action);
}
case TRACK_ADDED: {
- const { jitsiTrack: { isLocal, muted, videoType } } = action.track;
+ const { jitsiTrack: { isLocal, videoType }, muted } = action.track;
if (videoType === 'camera' && isLocal() && !muted) {
// need to pass this since the track is not yet added in the store