ソースを参照

feat: Adds option to set ws keepalive url through config. (#8487)

* feat: Adds option to set ws keepalive url through config.

* chore(deps) lib-jitsi-meet@latest

* feat: Adds option to set ws keepalive url through config.
* fix VADAudioAnalyser: catch error

be18ff34be/...9fdde46694d1c4bc8b7f051cc8d50e0df29ffd07
j8
Дамян Минков 4年前
コミット
79f3756d33
コミッターのメールアドレスに関連付けられたアカウントが存在しません
4個のファイルの変更10行の追加4行の削除
  1. 2
    0
      config.js
  2. 4
    0
      connection.js
  3. 2
    2
      package-lock.json
  4. 2
    2
      package.json

+ 2
- 0
config.js ファイルの表示

@@ -699,6 +699,8 @@ var config = {
699 699
      forceTurnRelay
700 700
      hiddenDomain
701 701
      ignoreStartMuted
702
+     websocketKeepAlive
703
+     websocketKeepAliveUrl
702 704
      */
703 705
 
704 706
     /**

+ 4
- 0
connection.js ファイルの表示

@@ -94,6 +94,10 @@ function connect(id, password, roomName) {
94 94
     //  in future). It's included for the time being for Jitsi Meet and lib-jitsi-meet versions interoperability.
95 95
     connectionConfig.serviceUrl = connectionConfig.bosh = serviceUrl;
96 96
 
97
+    if (connectionConfig.websocketKeepAliveUrl) {
98
+        connectionConfig.websocketKeepAliveUrl += `?room=${roomName}`;
99
+    }
100
+
97 101
     const connection = new JitsiMeetJS.JitsiConnection(null, jwt, connectionConfig);
98 102
 
99 103
     if (config.iAmRecorder) {

+ 2
- 2
package-lock.json ファイルの表示

@@ -10343,8 +10343,8 @@
10343 10343
       }
10344 10344
     },
10345 10345
     "lib-jitsi-meet": {
10346
-      "version": "github:jitsi/lib-jitsi-meet#be18ff34bedf38c7475fe4953074c7959000e15f",
10347
-      "from": "github:jitsi/lib-jitsi-meet#be18ff34bedf38c7475fe4953074c7959000e15f",
10346
+      "version": "github:jitsi/lib-jitsi-meet#9fdde46694d1c4bc8b7f051cc8d50e0df29ffd07",
10347
+      "from": "github:jitsi/lib-jitsi-meet#9fdde46694d1c4bc8b7f051cc8d50e0df29ffd07",
10348 10348
       "requires": {
10349 10349
         "@jitsi/js-utils": "1.0.2",
10350 10350
         "@jitsi/sdp-interop": "1.0.3",

+ 2
- 2
package.json ファイルの表示

@@ -49,14 +49,14 @@
49 49
     "i18next": "17.0.6",
50 50
     "i18next-browser-languagedetector": "3.0.1",
51 51
     "i18next-xhr-backend": "3.0.0",
52
+    "jQuery-Impromptu": "github:trentrichardson/jQuery-Impromptu#v6.0.0",
52 53
     "jitsi-meet-logger": "github:jitsi/jitsi-meet-logger#v1.0.0",
53 54
     "jquery": "3.5.1",
54 55
     "jquery-contextmenu": "2.4.5",
55 56
     "jquery-i18next": "1.2.1",
56
-    "jQuery-Impromptu": "github:trentrichardson/jQuery-Impromptu#v6.0.0",
57 57
     "js-md5": "0.6.1",
58 58
     "jwt-decode": "2.2.0",
59
-    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#be18ff34bedf38c7475fe4953074c7959000e15f",
59
+    "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#9fdde46694d1c4bc8b7f051cc8d50e0df29ffd07",
60 60
     "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
61 61
     "lodash": "4.17.19",
62 62
     "moment": "2.19.4",

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