Merge pull request #765 from jitsi/analytics-update2

Adds analytics event for rendering audio and video.
This commit is contained in:
hristoterezov 2016-08-02 14:53:19 -05:00 committed by GitHub
commit b457166726
1 changed files with 2 additions and 0 deletions

View File

@ -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;
};