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 58700abaeb
commit 7ba41c7d2d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {
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