소스 검색

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

j8
paweldomas 5 년 전
부모
커밋
c20c4bd5a3
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      connection_optimization/do_external_connect.js

+ 2
- 1
connection_optimization/do_external_connect.js 파일 보기

@@ -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
 

Loading…
취소
저장