feat(rtc-stats) add timestamp to face landmarks when sending to rtc stats
This commit is contained in:
parent
537d3ae53a
commit
0259d1c260
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue