vani-meeting-client 1.2.5 → 1.2.7

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.
@@ -454,15 +454,15 @@ var CommunicationHandler = /** @class */ (function () {
454
454
  this.internetReachbilityTimeout = window.setTimeout(this.checkIfInternetReachable, 200, 0);
455
455
  };
456
456
  CommunicationHandler.prototype.onApiResponded = function (count) {
457
- var _a, _b, _c;
457
+ var _a;
458
458
  console.log("onApiResponded", count);
459
459
  if (this.isReachable === false) {
460
460
  this.isReachable = true;
461
461
  this.internetReachbilityTimeout = undefined;
462
- if (count < 2 && ((_a = this.websocketCallHandler) === null || _a === void 0 ? void 0 : _a.isWebScoketConnected())) {
463
- (_b = this.videoCallHandler) === null || _b === void 0 ? void 0 : _b.reconnectedWithoutPing();
464
- }
465
- (_c = this.websocketCallHandler) === null || _c === void 0 ? void 0 : _c.reconnectOnInternetFailur();
462
+ // if (count < 2 && this.websocketCallHandler?.isWebScoketConnected()) {
463
+ // this.videoCallHandler?.reconnectedWithoutPing()
464
+ // }
465
+ (_a = this.videoCallHandler) === null || _a === void 0 ? void 0 : _a.reconnectedWithoutPing();
466
466
  }
467
467
  };
468
468
  CommunicationHandler.prototype.cleanup = function () {
@@ -291,9 +291,9 @@ var WebsocketHandler = /** @class */ (function (_super) {
291
291
  this.wss.close(3005);
292
292
  this.wss = undefined;
293
293
  console.log("this.wss undefined reconnectOnInternetFailur ");
294
- this.connection = ConnectionType.reconnect;
295
- this.connect(true);
296
294
  }
295
+ this.connection = ConnectionType.reconnect;
296
+ this.connect(true);
297
297
  };
298
298
  // private checkIfSocketConnected() {
299
299
  // window.setTimeout(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",