fix(load-test): Fixes keepalive url when using load-test.
This commit is contained in:
parent
6740b0861e
commit
684d121159
|
@ -250,6 +250,9 @@ JitsiMeetJS.setLogLevel(JitsiMeetJS.logLevels.ERROR);
|
|||
JitsiMeetJS.init(config);
|
||||
|
||||
config.serviceUrl = config.bosh = `${config.websocket || config.bosh}?room=${roomName.toLowerCase()}`;
|
||||
if (config.websocketKeepAliveUrl) {
|
||||
config.websocketKeepAliveUrl += `?room=${roomName.toLowerCase()}`;
|
||||
}
|
||||
|
||||
connection = new JitsiMeetJS.JitsiConnection(null, null, config);
|
||||
connection.addEventListener(JitsiMeetJS.events.connection.CONNECTION_ESTABLISHED, onConnectionSuccess);
|
||||
|
|
Loading…
Reference in New Issue