vani-meeting-client 2.2.0 → 2.2.1-beta0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -264,6 +264,10 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
264
264
|
this.wss.close();
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
+
if (!url_1.includes("connection=")) {
|
|
268
|
+
url_1 = url_1 + "/?connection=";
|
|
269
|
+
}
|
|
270
|
+
debugger;
|
|
267
271
|
if (url_1) {
|
|
268
272
|
this.meetingStartRequest && this.meetingStartRequest.logLevel === LogLevel.Debug && log.info("Connecting to ", url_1);
|
|
269
273
|
this.isWebSocketConnectionInProgress = true;
|
|
@@ -274,6 +278,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
274
278
|
this.wss = new WebSocket(url_1 + this.connection);
|
|
275
279
|
}
|
|
276
280
|
this.wss.onopen = function (event) {
|
|
281
|
+
debugger;
|
|
277
282
|
// this.checkIfSocketConnected();
|
|
278
283
|
_this.meetingStartRequest && _this.meetingStartRequest.logLevel === LogLevel.Debug && log.info("connected ----");
|
|
279
284
|
_this.isWebSocketConnectionInProgress = false;
|
|
@@ -303,6 +308,8 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
303
308
|
}
|
|
304
309
|
};
|
|
305
310
|
this.wss.onclose = function (event) {
|
|
311
|
+
debugger;
|
|
312
|
+
_this.isSetUpDone = false;
|
|
306
313
|
_this.isWebSocketConnectionInProgress = false;
|
|
307
314
|
_this.meetingStartRequest && _this.meetingStartRequest.logLevel === LogLevel.Debug && ("WebSocket is closed now.");
|
|
308
315
|
// log.warn(event)
|