diff --git a/react/features/rtcstats/RTCStats.js b/react/features/rtcstats/RTCStats.js index bf34381a9..3f6d92816 100644 --- a/react/features/rtcstats/RTCStats.js +++ b/react/features/rtcstats/RTCStats.js @@ -122,7 +122,7 @@ class RTCStats { * @returns {void} */ sendFaceExpressionData(faceExpressionData) { - this.trace && this.trace.statsEntry('faceExpression', null, faceExpressionData); + this.trace && this.trace.statsEntry('faceLandmarks', null, faceExpressionData); } /** diff --git a/react/features/rtcstats/middleware.js b/react/features/rtcstats/middleware.js index c83a71350..8802535d3 100644 --- a/react/features/rtcstats/middleware.js +++ b/react/features/rtcstats/middleware.js @@ -26,7 +26,6 @@ MiddlewareRegistry.register(store => next => action => { const config = state['features/base/config']; const { analytics } = config; - switch (action.type) { case LIB_WILL_INIT: { if (isRtcstatsEnabled(state)) { @@ -156,7 +155,7 @@ MiddlewareRegistry.register(store => next => action => { RTCStats.sendFaceExpressionData({ duration, - faceExpression, + faceLandmarks: faceExpression, timestamp }); }