vani-meeting-client 0.7.8 → 0.7.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.
@@ -367,7 +367,7 @@ var SFUHandler = /** @class */ (function (_super) {
367
367
  var _this = this;
368
368
  var _a, _b;
369
369
  log.info("produceTracks");
370
- if (!this.sendTransport || !this.consumerTransport == null || this.isProduceTrackIntialWorkDone) {
370
+ if (!this.sendTransport || !this.consumerTransport || this.isProduceTrackIntialWorkDone) {
371
371
  return;
372
372
  }
373
373
  this.isProduceTrackIntialWorkDone = true;
@@ -402,8 +402,8 @@ var WebsocketHandler = /** @class */ (function (_super) {
402
402
  }
403
403
  }
404
404
  else if (type === WebSocketBasicEvents.OnMeetingStartTime) {
405
- if (data && data.time) {
406
- var time = data.time;
405
+ if (data && (data.time || data.message)) {
406
+ var time = data.time ? data.time : data.message;
407
407
  if (time > new Date().getTime()) {
408
408
  time = new Date().getTime();
409
409
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",