Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Adds analytics event for rendering audio and video.

damencho562c2e38db98
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js
index 92eb8412e9..801b90b529 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;
};