Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
ref: Uses config.deploymentInfo instead of window.jitsiDeploymentInfo.
Boris Grozevb09613b9432c
diff --git a/modules/analytics/analytics.js b/modules/analytics/analytics.jsindex d42440a64a..2a495052f9 100644--- a/modules/analytics/analytics.js+++ b/modules/analytics/analytics.js@@ -4,7 +4,7 @@* Load the integration of a third-party analytics API such as Google* Analytics. Since we cannot guarantee the quality of the third-party service* (e.g. their server may take noticeably long time to respond), it is in our- * best interest (in the sense that the intergration of the analytics API is+ * best interest (in the sense that the integration of the analytics API is* important to us but not enough to allow it to prevent people from joining* a conference) to download the API asynchronously. Additionally, Google* Analytics will download its implementation asynchronously anyway so it makes@@ -77,7 +77,7 @@ class Analytics {Promise.all(handlersPromises).then(values => {values.forEach(el => {if(el.type === "error") {- console.log("Fialed to load " + el.url);+ console.log("Failed to load " + el.url);console.error(el.error);}});@@ -122,15 +122,11 @@ class Analytics {if (group) {permanentProperties.group = group;}- /**- * optionally include local deployment information,- * window.jitsiDeploymentInfo defined outside of application- * to use, override contents in local.html- **/- if (window.jitsiDeploymentInfo) {- for (var key in window.jitsiDeploymentInfo) {- permanentProperties[key]- = window.jitsiDeploymentInfo[key];+ // optionally include local deployment information based on+ // the contents of window.config.deploymentInfo+ if (config.deploymentInfo) {+ for (var key in config.deploymentInfo) {+ permanentProperties[key] = config.deploymentInfo[key];}}