vani-meeting-client-native 0.0.4 → 0.0.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.
|
@@ -151,6 +151,7 @@ var CommunicationHandler = /** @class */ (function () {
|
|
|
151
151
|
participant.isVideoBlockedByAdmin = this.meetingStartRequest.defaultVideoBlocked;
|
|
152
152
|
participant.isScreenshareBlockedByAdmin = this.meetingStartRequest.defaultScreenShareBlocked;
|
|
153
153
|
participant.isRecordingUser = this.meetingStartRequest.isRecordingUser;
|
|
154
|
+
this.meetingStartRequest && this.meetingStartRequest.logLevel === LogLevel.Debug && console.log("addParticipantIfNotExist from getSelfParticipant", participant);
|
|
154
155
|
this.addParticipantIfNotExist(participant);
|
|
155
156
|
}
|
|
156
157
|
return participant;
|
|
@@ -170,6 +171,7 @@ var CommunicationHandler = /** @class */ (function () {
|
|
|
170
171
|
Object.entries(data.message).forEach(function (_a) {
|
|
171
172
|
var userId = _a[0], participant = _a[1];
|
|
172
173
|
userIds = userIds + " " + userId;
|
|
174
|
+
_this.meetingStartRequest && _this.meetingStartRequest.logLevel === LogLevel.Debug && console.log("addParticipantIfNotExist from onServerParticipants", data);
|
|
173
175
|
_this.addParticipantIfNotExist(participant, false);
|
|
174
176
|
});
|
|
175
177
|
// const allParticiapntsToBeRemove = this.allParticipants.filter(participant => (userIds.includes(participant.userId) === false))
|
|
@@ -726,6 +726,7 @@ var SFUHandler = /** @class */ (function (_super) {
|
|
|
726
726
|
_this.meetingStartRequest && _this.meetingStartRequest.logLevel === LogLevel.Debug && log.info(data);
|
|
727
727
|
var participant = (_a = _this.communicationHandler) === null || _a === void 0 ? void 0 : _a.participantByUserId(data.participant.userId);
|
|
728
728
|
if (!participant) {
|
|
729
|
+
_this.meetingStartRequest && _this.meetingStartRequest.logLevel === LogLevel.Debug && console.log("addParticipantIfNotExist from onServerConsumer", data.participant);
|
|
729
730
|
participant = (_b = _this.communicationHandler) === null || _b === void 0 ? void 0 : _b.addParticipantIfNotExist(data.participant, true);
|
|
730
731
|
}
|
|
731
732
|
if (participant) {
|
|
@@ -439,6 +439,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
439
439
|
}
|
|
440
440
|
else if (type === WebSocketBasicEvents.OnParticipantUpdated) {
|
|
441
441
|
if (data) {
|
|
442
|
+
this.meetingStartRequest && this.meetingStartRequest.logLevel === LogLevel.Debug && console.log("WebSocketBasicEvents.OnParticipantUpdated", data.message);
|
|
442
443
|
(_e = this.communicationHandler) === null || _e === void 0 ? void 0 : _e.addParticipantIfNotExist(data.message, true);
|
|
443
444
|
}
|
|
444
445
|
}
|