Browse Source

fix(load-test): Fixes keepalive url when using load-test.

master
damencho 4 years ago
parent
commit
684d121159
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      resources/load-test/load-test-participant.js

+ 3
- 0
resources/load-test/load-test-participant.js View File

@@ -250,6 +250,9 @@ JitsiMeetJS.setLogLevel(JitsiMeetJS.logLevels.ERROR);
250 250
 JitsiMeetJS.init(config);
251 251
 
252 252
 config.serviceUrl = config.bosh = `${config.websocket || config.bosh}?room=${roomName.toLowerCase()}`;
253
+if (config.websocketKeepAliveUrl) {
254
+    config.websocketKeepAliveUrl += `?room=${roomName.toLowerCase()}`;
255
+}
253 256
 
254 257
 connection = new JitsiMeetJS.JitsiConnection(null, null, config);
255 258
 connection.addEventListener(JitsiMeetJS.events.connection.CONNECTION_ESTABLISHED, onConnectionSuccess);

Loading…
Cancel
Save