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