|
@@ -168,6 +168,11 @@ SmallVideo.createStreamElement = function (stream) {
|
168
|
168
|
now);
|
169
|
169
|
AnalyticsAdapter.sendEvent('render.' + type, now);
|
170
|
170
|
|
|
171
|
+ // Time to first media, a number that can be used for comparision of
|
|
172
|
+ // time fot rendering media. It can be used for the first and
|
|
173
|
+ // the rest participants. It subtracts the period of waiting for the
|
|
174
|
+ // second participant to join (time between join and first
|
|
175
|
+ // session initiate).
|
171
|
176
|
var ttfm = now - APP.connectionTimes["document.ready"]
|
172
|
177
|
- (APP.conference.getConnectionTimes()["session.initiate"]
|
173
|
178
|
- APP.conference.getConnectionTimes()["muc.joined"]);
|