fix(face-landmarks): Check mute state from redux before starting detection.

This commit is contained in:
Jaya Allamsetty 2022-09-28 11:12:38 -04:00
parent f4985d8028
commit 95a3a8de0b
1 changed files with 1 additions and 1 deletions

View File

@ -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