ref(rtc-stats) update faceLandmarks naming
This commit is contained in:
parent
5152638529
commit
ea5ce3f72f
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue