瀏覽代碼

fix(analytics): remove overwritesWatchRTC* props

factor2
Hristo Terezov 8 月之前
父節點
當前提交
9e15df8e3d
共有 1 個檔案被更改,包括 0 行新增11 行删除
  1. 0
    11
      react/features/analytics/functions.ts

+ 0
- 11
react/features/analytics/functions.ts 查看文件

219
         overwritesPrejoinConfigICEUrl?: boolean;
219
         overwritesPrejoinConfigICEUrl?: boolean;
220
         overwritesSalesforceUrl?: boolean;
220
         overwritesSalesforceUrl?: boolean;
221
         overwritesSupportUrl?: boolean;
221
         overwritesSupportUrl?: boolean;
222
-        overwritesWatchRTCConfigParams?: boolean;
223
-        overwritesWatchRTCProxyUrl?: boolean;
224
-        overwritesWatchRTCWSUrl?: boolean;
225
         server?: string;
222
         server?: string;
226
         tenant?: string;
223
         tenant?: string;
227
         wasLobbyVisible?: boolean;
224
         wasLobbyVisible?: boolean;
272
     permanentProperties.overwritesHosts = 'config.hosts' in params
269
     permanentProperties.overwritesHosts = 'config.hosts' in params
273
         || Boolean(hostsProps.find(p => `config.hosts.${p}` in params || (typeof hosts === 'object' && p in hosts)));
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
     const prejoinConfig = params['config.prejoinConfig'] ?? {};
272
     const prejoinConfig = params['config.prejoinConfig'] ?? {};
284
 
273
 
285
     permanentProperties.overwritesPrejoinConfigICEUrl = ('config.prejoinConfig.preCallTestICEUrl' in params)
274
     permanentProperties.overwritesPrejoinConfigICEUrl = ('config.prejoinConfig.preCallTestICEUrl' in params)

Loading…
取消
儲存