ソースを参照

feat: Adds an option to preset in localstorage key for locked rooms.

This feature will be used by sip-jibri to join locked rooms.
j8
damencho 4年前
コミット
c4766125bb
1個のファイルの変更3行の追加1行の削除
  1. 3
    1
      conference.js

+ 3
- 1
conference.js ファイルの表示

@@ -1,5 +1,6 @@
1 1
 /* global APP, JitsiMeetJS, config, interfaceConfig */
2 2
 
3
+import { jitsiLocalStorage } from '@jitsi/js-utils';
3 4
 import EventEmitter from 'events';
4 5
 import Logger from 'jitsi-meet-logger';
5 6
 
@@ -387,7 +388,8 @@ class ConferenceConnector {
387 388
      *
388 389
      */
389 390
     connect() {
390
-        room.join();
391
+        // the local storage overrides here and in connection.js can be used by jibri
392
+        room.join(jitsiLocalStorage.getItem('xmpp_conference_password_override'));
391 393
     }
392 394
 }
393 395
 

読み込み中…
キャンセル
保存