vani-meeting-client 0.4.4 → 0.4.5

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.
@@ -501,8 +501,11 @@ var SFUHandler = /** @class */ (function (_super) {
501
501
  log.info(data);
502
502
  var participant = (_a = _this.communicationHandler) === null || _a === void 0 ? void 0 : _a.addParticipantIfNotExist(data.participant, true);
503
503
  if (participant) {
504
- log.info("participant found");
504
+ log.info("participant consumed");
505
505
  var track = new Track(participant, false, data.trackKind, mediaTrack);
506
+ if (!_this.communicationHandler) {
507
+ console.log("communicationHandler not found");
508
+ }
506
509
  (_b = _this.communicationHandler) === null || _b === void 0 ? void 0 : _b.addUpdateRemoteTrack(track, participant, true);
507
510
  }
508
511
  var messageJson = { to: "self", type: SFUMessageType.ResumeConsumer, message: { id: consumer.id } };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",