Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: Drops sending facelandmarks to speakerstats. (#14253)

Дамян Минков9b7da0be2d7e
diff --git a/react/features/face-landmarks/middleware.ts b/react/features/face-landmarks/middleware.ts
index 74e0d2ef68..1cd57efd28 100644
--- a/react/features/face-landmarks/middleware.ts
+++ b/react/features/face-landmarks/middleware.ts
@@ -15,7 +15,7 @@ import { TRACK_ADDED, TRACK_REMOVED, TRACK_UPDATED } from '../base/tracks/action
import FaceLandmarksDetector from './FaceLandmarksDetector';
import { ADD_FACE_LANDMARKS, NEW_FACE_COORDINATES, UPDATE_FACE_COORDINATES } from './actionTypes';
import { FACE_BOX_EVENT_TYPE } from './constants';
-import { sendFaceBoxToParticipants, sendFaceExpressionToParticipants, sendFaceExpressionToServer } from './functions';
+import { sendFaceBoxToParticipants, sendFaceExpressionToParticipants } from './functions';
MiddlewareRegistry.register((store: IStore) => (next: Function) => (action: AnyAction) => {
@@ -107,7 +107,8 @@ MiddlewareRegistry.register((store: IStore) => (next: Function) => (action: AnyA
sendFaceExpressionToParticipants(conference, faceLandmarks);
}
- sendFaceExpressionToServer(conference, faceLandmarks);
+ // Disabling for now as there is no value of having the data in speakerstats at the server
+ // sendFaceExpressionToServer(conference, faceLandmarks);
return next(action);
}