Browse Source

Update conference.js

j8
Emil Ivov 8 years ago
parent
commit
05ae9134a8
1 changed files with 0 additions and 14 deletions
  1. 0
    14
      conference.js

+ 0
- 14
conference.js View File

422
     }
422
     }
423
 }
423
 }
424
 
424
 
425
-/**
426
- * Sends statistics from APP.tokenData
427
- */
428
-function sendTokenDataStats() {
429
-    let {server, group} = APP.tokenData;
430
-    if(server) {
431
-        APP.conference.logEvent("server." + server, 1);
432
-    }
433
-    if(group) {
434
-        APP.conference.logEvent("group", group);
435
-    }
436
-}
437
-
438
 /**
425
 /**
439
  * Disconnects the connection.
426
  * Disconnects the connection.
440
  * @returns resolved Promise. We need this in order to make the Promise.all
427
  * @returns resolved Promise. We need this in order to make the Promise.all
515
         return JitsiMeetJS.init(config)
502
         return JitsiMeetJS.init(config)
516
             .then(() => {
503
             .then(() => {
517
                 setAnalyticsPermanentProperties();
504
                 setAnalyticsPermanentProperties();
518
-                sendTokenDataStats();
519
                 return createInitialLocalTracksAndConnect(options.roomName);
505
                 return createInitialLocalTracksAndConnect(options.roomName);
520
             }).then(([tracks, con]) => {
506
             }).then(([tracks, con]) => {
521
                 console.log('initialized with %s local tracks', tracks.length);
507
                 console.log('initialized with %s local tracks', tracks.length);

Loading…
Cancel
Save