|
|
|
|
|
|
250
|
JitsiMeetJS.init(config);
|
250
|
JitsiMeetJS.init(config);
|
|
251
|
|
251
|
|
|
252
|
config.serviceUrl = config.bosh = `${config.websocket || config.bosh}?room=${roomName.toLowerCase()}`;
|
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
|
connection = new JitsiMeetJS.JitsiConnection(null, null, config);
|
257
|
connection = new JitsiMeetJS.JitsiConnection(null, null, config);
|
|
255
|
connection.addEventListener(JitsiMeetJS.events.connection.CONNECTION_ESTABLISHED, onConnectionSuccess);
|
258
|
connection.addEventListener(JitsiMeetJS.events.connection.CONNECTION_ESTABLISHED, onConnectionSuccess);
|