|
|
@@ -167,6 +167,12 @@ SmallVideo.createStreamElement = function (stream) {
|
|
167
|
167
|
console.log("(TIME) Render " + type + ":\t",
|
|
168
|
168
|
now);
|
|
169
|
169
|
AnalyticsAdapter.sendEvent('render.' + type, now);
|
|
|
170
|
+
|
|
|
171
|
+ var ttfm = now - APP.connectionTimes["document.ready"]
|
|
|
172
|
+ - (APP.conference.getConnectionTimes()["session.initiate"]
|
|
|
173
|
+ - APP.conference.getConnectionTimes()["muc.joined"]);
|
|
|
174
|
+ console.log("(TIME) TTFM " + type + ":\t", ttfm);
|
|
|
175
|
+ AnalyticsAdapter.sendEvent('ttfm.' + type, ttfm);
|
|
170
|
176
|
};
|
|
171
|
177
|
return element;
|
|
172
|
178
|
};
|