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) Ignore muted tracks while starting detection. This fixes an issue where a user gets stuck on lobby page when they have a muted video track after the user is accepted.

Jaya Allamsetty2413b8977ebc
diff --git a/react/features/face-landmarks/FaceLandmarksDetector.ts b/react/features/face-landmarks/FaceLandmarksDetector.ts
index 3c53cdef81..c2c81f158d 100644
--- a/react/features/face-landmarks/FaceLandmarksDetector.ts
+++ b/react/features/face-landmarks/FaceLandmarksDetector.ts
@@ -193,8 +193,8 @@ class FaceLandmarksDetector {
const state = getState();
const localVideoTrack = track || getLocalVideoTrack(state['features/base/tracks']);
- if (localVideoTrack === undefined) {
- logger.warn('Face landmarks detection is disabled due to missing local track.');
+ if (!localVideoTrack || localVideoTrack.jitsiTrack?.isMuted()) {
+ logger.debug('Face landmarks detection is disabled due to missing local track.');
return;
}