ref(do_external_connect): do not use jiconop if websocket is enabled

This commit is contained in:
paweldomas 2020-01-24 12:36:20 -06:00 committed by Paweł Domas
parent 74a5eb2d81
commit c20c4bd5a3
1 changed files with 2 additions and 1 deletions

View File

@ -17,10 +17,11 @@ import parseURLParams from '../react/features/base/config/parseURLParams';
if (typeof createConnectionExternally === 'function') {
// URL params have higher priority than config params.
// Do not use external connect if websocket is enabled.
let url
= parseURLParams(window.location, true, 'hash')[
'config.externalConnectUrl']
|| config.externalConnectUrl;
|| config.websocket ? undefined : config.externalConnectUrl;
const isRecorder
= parseURLParams(window.location, true, 'hash')['config.iAmRecorder'];