vani-meeting-client 1.4.7 → 1.4.9

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.
@@ -381,6 +381,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
381
381
  WebsocketHandler.prototype.onMessage = function (message) {
382
382
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
383
383
  this.lastPingTimeStamp = new Date().getTime();
384
+ console.log("lastPingTimeStamp time ", this.lastPingTimeStamp);
384
385
  var messagejson = JSON.parse(message);
385
386
  if (messagejson.type && messagejson.data) {
386
387
  var type = messagejson.type;
@@ -451,6 +452,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
451
452
  };
452
453
  WebsocketHandler.prototype.onSetupDone = function (data) {
453
454
  var _a, _b, _c;
455
+ console.log("onSetupDone", this.meetingStartRequest);
454
456
  if (!this.meetingStartRequest) {
455
457
  return;
456
458
  }
@@ -481,6 +483,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
481
483
  if (this.isWebScoketConnected()) {
482
484
  if ((this.lastPingTimeStamp + (40 * 1000)) < new Date().getTime()) {
483
485
  this.pingCheckTimeout = undefined;
486
+ console.log("checkIfPingIsRunning", this.lastPingTimeStamp);
484
487
  //Discounted
485
488
  (_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.onIceCandidateDisconnected();
486
489
  (_b = this.communicationHandler) === null || _b === void 0 ? void 0 : _b.emitMessageToSource(VaniEvent.OnNotReachable, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",