Browse Source

Adds comment.

j8
damencho 9 years ago
parent
commit
df01358fb8
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      modules/UI/videolayout/SmallVideo.js

+ 5
- 0
modules/UI/videolayout/SmallVideo.js View File

168
                     now);
168
                     now);
169
         AnalyticsAdapter.sendEvent('render.' + type, now);
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
         var ttfm = now - APP.connectionTimes["document.ready"]
176
         var ttfm = now - APP.connectionTimes["document.ready"]
172
             - (APP.conference.getConnectionTimes()["session.initiate"]
177
             - (APP.conference.getConnectionTimes()["session.initiate"]
173
                 - APP.conference.getConnectionTimes()["muc.joined"]);
178
                 - APP.conference.getConnectionTimes()["muc.joined"]);

Loading…
Cancel
Save