Update conference.js
This commit is contained in:
parent
d97ed17052
commit
05ae9134a8
|
@ -422,19 +422,6 @@ class ConferenceConnector {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Sends statistics from APP.tokenData
|
|
||||||
*/
|
|
||||||
function sendTokenDataStats() {
|
|
||||||
let {server, group} = APP.tokenData;
|
|
||||||
if(server) {
|
|
||||||
APP.conference.logEvent("server." + server, 1);
|
|
||||||
}
|
|
||||||
if(group) {
|
|
||||||
APP.conference.logEvent("group", group);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disconnects the connection.
|
* Disconnects the connection.
|
||||||
* @returns resolved Promise. We need this in order to make the Promise.all
|
* @returns resolved Promise. We need this in order to make the Promise.all
|
||||||
|
@ -515,7 +502,6 @@ export default {
|
||||||
return JitsiMeetJS.init(config)
|
return JitsiMeetJS.init(config)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
setAnalyticsPermanentProperties();
|
setAnalyticsPermanentProperties();
|
||||||
sendTokenDataStats();
|
|
||||||
return createInitialLocalTracksAndConnect(options.roomName);
|
return createInitialLocalTracksAndConnect(options.roomName);
|
||||||
}).then(([tracks, con]) => {
|
}).then(([tracks, con]) => {
|
||||||
console.log('initialized with %s local tracks', tracks.length);
|
console.log('initialized with %s local tracks', tracks.length);
|
||||||
|
|
Loading…
Reference in New Issue