Skip to content

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

fix(analytics): remove overwritesWatchRTC* props

Hristo Terezov9e15df8e3d8d
diff --git a/react/features/analytics/functions.ts b/react/features/analytics/functions.ts
index 5551103e9f..7ed8fc9bd6 100644
--- a/react/features/analytics/functions.ts
+++ b/react/features/analytics/functions.ts
@@ -219,9 +219,6 @@ export function initAnalytics(store: IStore, handlers: Array<Object>): boolean {
overwritesPrejoinConfigICEUrl?: boolean;
overwritesSalesforceUrl?: boolean;
overwritesSupportUrl?: boolean;
- overwritesWatchRTCConfigParams?: boolean;
- overwritesWatchRTCProxyUrl?: boolean;
- overwritesWatchRTCWSUrl?: boolean;
server?: string;
tenant?: string;
wasLobbyVisible?: boolean;
@@ -272,14 +269,6 @@ export function initAnalytics(store: IStore, handlers: Array<Object>): boolean {
permanentProperties.overwritesHosts = 'config.hosts' in params
|| Boolean(hostsProps.find(p => `config.hosts.${p}` in params || (typeof hosts === 'object' && p in hosts)));
- permanentProperties.overwritesWatchRTCConfigParams = 'config.watchRTCConfigParams' in params;
- const watchRTCConfigParams = params['config.watchRTCConfigParams'] ?? {};
-
- permanentProperties.overwritesWatchRTCProxyUrl = ('config.watchRTCConfigParams.proxyUrl' in params)
- || (typeof watchRTCConfigParams === 'object' && 'proxyUrl' in watchRTCConfigParams);
- permanentProperties.overwritesWatchRTCWSUrl = ('config.watchRTCConfigParams.wsUrl' in params)
- || (typeof watchRTCConfigParams === 'object' && 'wsUrl' in watchRTCConfigParams);
-
const prejoinConfig = params['config.prejoinConfig'] ?? {};
permanentProperties.overwritesPrejoinConfigICEUrl = ('config.prejoinConfig.preCallTestICEUrl' in params)