|
|
|
|
@ -101,7 +101,10 @@ import { |
|
|
|
|
trackAdded, |
|
|
|
|
trackRemoved |
|
|
|
|
} from './react/features/base/tracks'; |
|
|
|
|
import { getJitsiMeetGlobalNS } from './react/features/base/util'; |
|
|
|
|
import { |
|
|
|
|
getBackendSafePath, |
|
|
|
|
getJitsiMeetGlobalNS |
|
|
|
|
} from './react/features/base/util'; |
|
|
|
|
import { showDesktopPicker } from './react/features/desktop-picker'; |
|
|
|
|
import { appendSuffix } from './react/features/display-name'; |
|
|
|
|
import { setE2EEKey } from './react/features/e2ee'; |
|
|
|
|
@ -1364,7 +1367,13 @@ export default { |
|
|
|
|
const options = config; |
|
|
|
|
const { email, name: nick } = getLocalParticipant(APP.store.getState()); |
|
|
|
|
|
|
|
|
|
const { locationURL } = APP.store.getState()['features/base/connection']; |
|
|
|
|
const state = APP.store.getState(); |
|
|
|
|
const { locationURL } = state['features/base/connection']; |
|
|
|
|
const { tenant } = state['features/base/jwt']; |
|
|
|
|
|
|
|
|
|
if (tenant) { |
|
|
|
|
options.siteID = tenant; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (options.enableDisplayNameInStats && nick) { |
|
|
|
|
options.statisticsDisplayName = nick; |
|
|
|
|
@ -1376,7 +1385,7 @@ export default { |
|
|
|
|
|
|
|
|
|
options.applicationName = interfaceConfig.APP_NAME; |
|
|
|
|
options.getWiFiStatsMethod = this._getWiFiStatsMethod; |
|
|
|
|
options.confID = `${locationURL.host}${locationURL.pathname}`; |
|
|
|
|
options.confID = `${locationURL.host}${getBackendSafePath(locationURL.pathname)}`; |
|
|
|
|
options.createVADProcessor = createRnnoiseProcessorPromise; |
|
|
|
|
|
|
|
|
|
// Disable CallStats, if requessted.
|
|
|
|
|
|