Skip to content

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

Renames performanceTimes to ConnectionTimes

hristoterezov655b7019d1bd
diff --git a/app.js b/app.js
index 277cbb1610..e8a02a2eee 100644
--- a/app.js
+++ b/app.js
@@ -52,7 +52,7 @@ const APP = {
handler: null
},
// Used for automated performance tests
- performanceTimes: {
+ connectionTimes: {
"index.loaded": window.indexLoadedTime
},
UI,
@@ -103,7 +103,7 @@ function obtainConfigAndInit() {
// Get config result callback
function(success, error) {
if (success) {
- var now = APP.performanceTimes["configuration.fetched"] =
+ var now = APP.connectionTimes["configuration.fetched"] =
window.performance.now();
console.log("(TIME) configuration fetched:\t", now);
init();
@@ -124,7 +124,7 @@ function obtainConfigAndInit() {
$(document).ready(function () {
- var now = APP.performanceTimes["document.ready"] = window.performance.now();
+ var now = APP.connectionTimes["document.ready"] = window.performance.now();
console.log("(TIME) document ready:\t", now);
URLProcessor.setConfigParametersFromUrl();
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js
index 481e680d9b..d3acdaa358 100644
--- a/modules/UI/videolayout/SmallVideo.js
+++ b/modules/UI/videolayout/SmallVideo.js
@@ -160,7 +160,7 @@ SmallVideo.createStreamElement = function (stream) {
element.onplay = function () {
var type = (isVideo ? 'video' : 'audio');
- var now = APP.performanceTimes[type + ".render"]
+ var now = APP.connectionTimes[type + ".render"]
= window.performance.now();
console.log("(TIME) Render " + type + ":\t",
now);