From 562c2e38db9851e74d58da822b235da4265b8261 Mon Sep 17 00:00:00 2001 From: damencho Date: Tue, 2 Aug 2016 13:19:03 -0500 Subject: [PATCH] Adds analytics event for rendering audio and video. --- modules/UI/videolayout/SmallVideo.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js index 92eb8412e..801b90b52 100644 --- a/modules/UI/videolayout/SmallVideo.js +++ b/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; };