fix(face-landmarks): Check mute state from redux before starting detection.
This commit is contained in:
parent
58700abaeb
commit
7ba41c7d2d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue