ソースを参照

feat: Switches by default to using websockets.

j25
damencho 6ヶ月前
コミット
c4fcfb8666

+ 1
- 0
_unlock ファイルの表示

1
+OK

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

49
     bosh: 'https://jitsi-meet.example.com/' + subdir + 'http-bind',
49
     bosh: 'https://jitsi-meet.example.com/' + subdir + 'http-bind',
50
 
50
 
51
     // Websocket URL (XMPP)
51
     // Websocket URL (XMPP)
52
-    // websocket: 'wss://jitsi-meet.example.com/' + subdir + 'xmpp-websocket',
52
+    websocket: 'wss://jitsi-meet.example.com/' + subdir + 'xmpp-websocket',
53
+    websocketKeepAliveUrl: 'https://jitsi-meet.example.com/' + subdir + '_unlock',
53
 
54
 
54
     // Whether BOSH should be preferred over WebSocket if both are configured.
55
     // Whether BOSH should be preferred over WebSocket if both are configured.
55
     // preferBosh: false,
56
     // preferBosh: false,

+ 13
- 0
doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example ファイルの表示

38
     "jvb@auth.jitmeet.example.com"
38
     "jvb@auth.jitmeet.example.com"
39
 }
39
 }
40
 
40
 
41
+-- https://prosody.im/doc/modules/mod_smacks
42
+smacks_max_unacked_stanzas = 5;
43
+smacks_hibernation_time = 60;
44
+smacks_max_old_sessions = 1;
45
+
41
 VirtualHost "jitmeet.example.com"
46
 VirtualHost "jitmeet.example.com"
42
     authentication = "jitsi-anonymous" -- do not delete me
47
     authentication = "jitsi-anonymous" -- do not delete me
43
     -- Properties below are modified by jitsi-meet-tokens package config
48
     -- Properties below are modified by jitsi-meet-tokens package config
58
     -- we need bosh
63
     -- we need bosh
59
     modules_enabled = {
64
     modules_enabled = {
60
         "bosh";
65
         "bosh";
66
+        "smacks";
61
         "ping"; -- Enable mod_ping
67
         "ping"; -- Enable mod_ping
62
         "speakerstats";
68
         "speakerstats";
63
         "external_services";
69
         "external_services";
127
     authentication = "internal_hashed"
133
     authentication = "internal_hashed"
128
     smacks_hibernation_time = 15;
134
     smacks_hibernation_time = 15;
129
 
135
 
136
+VirtualHost "recorder.jitmeet.example.com"
137
+    modules_enabled = {
138
+      "smacks";
139
+    }
140
+    authentication = "internal_hashed"
141
+    smacks_max_old_sessions = 2000;
142
+
130
 -- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
143
 -- Proxy to jicofo's user JID, so that it doesn't have to register as a component.
131
 Component "focus.jitmeet.example.com" "client_proxy"
144
 Component "focus.jitmeet.example.com" "client_proxy"
132
     target_address = "focusUser@auth.jitmeet.example.com"
145
     target_address = "focusUser@auth.jitmeet.example.com"

+ 6
- 0
doc/debian/jitsi-meet/jitsi-meet.example ファイルの表示

150
     #    alias /usr/share/jitsi-meet/load-test/libs/$1;
150
     #    alias /usr/share/jitsi-meet/load-test/libs/$1;
151
     #}
151
     #}
152
 
152
 
153
+    location = /_unlock {
154
+        add_header 'Access-Control-Allow-Origin' '*';
155
+        add_header Strict-Transport-Security 'max-age=63072000; includeSubDomains';
156
+        add_header "Cache-Control" "no-cache, no-store";
157
+    }
158
+
153
     location ~ ^/conference-request/v1(\/.*)?$ {
159
     location ~ ^/conference-request/v1(\/.*)?$ {
154
         proxy_pass http://127.0.0.1:8888/conference-request/v1$1;
160
         proxy_pass http://127.0.0.1:8888/conference-request/v1$1;
155
         add_header "Cache-Control" "no-cache, no-store";
161
         add_header "Cache-Control" "no-cache, no-store";

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