ref(do_external_connect): do not use jiconop if websocket is enabled
This commit is contained in:
parent
74a5eb2d81
commit
c20c4bd5a3
|
@ -17,10 +17,11 @@ import parseURLParams from '../react/features/base/config/parseURLParams';
|
||||||
|
|
||||||
if (typeof createConnectionExternally === 'function') {
|
if (typeof createConnectionExternally === 'function') {
|
||||||
// URL params have higher priority than config params.
|
// URL params have higher priority than config params.
|
||||||
|
// Do not use external connect if websocket is enabled.
|
||||||
let url
|
let url
|
||||||
= parseURLParams(window.location, true, 'hash')[
|
= parseURLParams(window.location, true, 'hash')[
|
||||||
'config.externalConnectUrl']
|
'config.externalConnectUrl']
|
||||||
|| config.externalConnectUrl;
|
|| config.websocket ? undefined : config.externalConnectUrl;
|
||||||
const isRecorder
|
const isRecorder
|
||||||
= parseURLParams(window.location, true, 'hash')['config.iAmRecorder'];
|
= parseURLParams(window.location, true, 'hash')['config.iAmRecorder'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue