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(rtc-stats) add timestamp to face landmarks when sending to rtc stats

Gabriel Borlea0259d1c2601e
diff --git a/react/features/rtcstats/middleware.js b/react/features/rtcstats/middleware.js
index 5b1d9196b7..eb221bb7e0 100644
--- a/react/features/rtcstats/middleware.js
+++ b/react/features/rtcstats/middleware.js
@@ -119,11 +119,12 @@ MiddlewareRegistry.register(store => next => action => {
}
case ADD_FACE_EXPRESSION: {
if (canSendRtcstatsData(state)) {
- const { duration, faceExpression } = action;
+ const { duration, faceExpression, timestamp } = action;
RTCStats.sendFaceExpressionData({
duration,
- faceExpression
+ faceExpression,
+ timestamp
});
}
break;