Browse Source

fix(analytics): remove overwritesWatchRTC* props

factor2
Hristo Terezov 8 months ago
parent
commit
9e15df8e3d
1 changed files with 0 additions and 11 deletions
  1. 0
    11
      react/features/analytics/functions.ts

+ 0
- 11
react/features/analytics/functions.ts View File

@@ -219,9 +219,6 @@ export function initAnalytics(store: IStore, handlers: Array<Object>): boolean {
219 219
         overwritesPrejoinConfigICEUrl?: boolean;
220 220
         overwritesSalesforceUrl?: boolean;
221 221
         overwritesSupportUrl?: boolean;
222
-        overwritesWatchRTCConfigParams?: boolean;
223
-        overwritesWatchRTCProxyUrl?: boolean;
224
-        overwritesWatchRTCWSUrl?: boolean;
225 222
         server?: string;
226 223
         tenant?: string;
227 224
         wasLobbyVisible?: boolean;
@@ -272,14 +269,6 @@ export function initAnalytics(store: IStore, handlers: Array<Object>): boolean {
272 269
     permanentProperties.overwritesHosts = 'config.hosts' in params
273 270
         || Boolean(hostsProps.find(p => `config.hosts.${p}` in params || (typeof hosts === 'object' && p in hosts)));
274 271
 
275
-    permanentProperties.overwritesWatchRTCConfigParams = 'config.watchRTCConfigParams' in params;
276
-    const watchRTCConfigParams = params['config.watchRTCConfigParams'] ?? {};
277
-
278
-    permanentProperties.overwritesWatchRTCProxyUrl = ('config.watchRTCConfigParams.proxyUrl' in params)
279
-        || (typeof watchRTCConfigParams === 'object' && 'proxyUrl' in watchRTCConfigParams);
280
-    permanentProperties.overwritesWatchRTCWSUrl = ('config.watchRTCConfigParams.wsUrl' in params)
281
-        || (typeof watchRTCConfigParams === 'object' && 'wsUrl' in watchRTCConfigParams);
282
-
283 272
     const prejoinConfig = params['config.prejoinConfig'] ?? {};
284 273
 
285 274
     permanentProperties.overwritesPrejoinConfigICEUrl = ('config.prejoinConfig.preCallTestICEUrl' in params)

Loading…
Cancel
Save