Adds comment.

This commit is contained in:
damencho 2016-08-03 12:49:19 -05:00
parent 06c636311d
commit df01358fb8
1 changed files with 5 additions and 0 deletions

View File

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