From 0259d1c2601ed52d50c976200b87af229ee5fdba Mon Sep 17 00:00:00 2001 From: Gabriel Borlea Date: Mon, 11 Apr 2022 12:26:31 +0300 Subject: [PATCH] feat(rtc-stats) add timestamp to face landmarks when sending to rtc stats --- react/features/rtcstats/middleware.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/react/features/rtcstats/middleware.js b/react/features/rtcstats/middleware.js index 5b1d9196b..eb221bb7e 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;