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
|
|
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 } };
|