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