Merge pull request #765 from jitsi/analytics-update2

Adds analytics event for rendering audio and video.
pull/770/head 1146
hristoterezov 8 years ago committed by GitHub
commit b457166726
  1. 2
      modules/UI/videolayout/SmallVideo.js

@ -3,6 +3,7 @@
import Avatar from "../avatar/Avatar";
import UIUtil from "../util/UIUtil";
import UIEvents from "../../../service/UI/UIEvents";
import AnalyticsAdapter from '../../statistics/AnalyticsAdapter';
const RTCUIHelper = JitsiMeetJS.util.RTCUIHelper;
@ -165,6 +166,7 @@ SmallVideo.createStreamElement = function (stream) {
= window.performance.now();
console.log("(TIME) Render " + type + ":\t",
now);
AnalyticsAdapter.sendEvent('render.' + type, now);
};
return element;
};

Loading…
Cancel
Save