vani-meeting-client 2.0.7 → 2.0.8
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.
|
@@ -168,11 +168,11 @@ var UserMediaHandler = /** @class */ (function (_super) {
|
|
|
168
168
|
var _this = this;
|
|
169
169
|
return __generator(this, function (_a) {
|
|
170
170
|
if (!this.meetingStartRequest) {
|
|
171
|
-
log.
|
|
171
|
+
log.log("meetingStartRequest not found");
|
|
172
172
|
return [2 /*return*/];
|
|
173
173
|
}
|
|
174
174
|
if (this.isScreenShareFetchInProgress) {
|
|
175
|
-
log.
|
|
175
|
+
log.log("Already fetching stream. So request ignored");
|
|
176
176
|
return [2 /*return*/];
|
|
177
177
|
}
|
|
178
178
|
if (!screensharePayload) {
|
|
@@ -209,7 +209,7 @@ var UserMediaHandler = /** @class */ (function (_super) {
|
|
|
209
209
|
}
|
|
210
210
|
this.userMediaPayload = userMediaPayload;
|
|
211
211
|
if (this.isVideoAudioFetchInProgress) {
|
|
212
|
-
log.
|
|
212
|
+
log.log("Already fetching stream. So request ignored");
|
|
213
213
|
return [2 /*return*/];
|
|
214
214
|
}
|
|
215
215
|
if (!isVideoRequired) return [3 /*break*/, 2];
|
|
@@ -324,7 +324,7 @@ var UserMediaHandler = /** @class */ (function (_super) {
|
|
|
324
324
|
};
|
|
325
325
|
UserMediaHandler.prototype.onStreamError = function (error, isAudioRequired, isVideoRequired) {
|
|
326
326
|
var _a;
|
|
327
|
-
log.
|
|
327
|
+
log.log(error.message);
|
|
328
328
|
(_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.emitMessageToSource(VaniEvent.OnPermissionError, error);
|
|
329
329
|
if (isAudioRequired && this.muteUmutePromiseResolver) {
|
|
330
330
|
this.muteUmutePromiseResolver({ message: "Permission Declined", error: 'PermissionDenied', isSuccess: false });
|
|
@@ -192,7 +192,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
192
192
|
var _this = this;
|
|
193
193
|
return __generator(this, function (_a) {
|
|
194
194
|
if (!this.meetingStartRequest) {
|
|
195
|
-
log.
|
|
195
|
+
log.log("meetingStartRequest not found on startSocketConnection");
|
|
196
196
|
return [2 /*return*/];
|
|
197
197
|
}
|
|
198
198
|
if (this.meetingStartRequest.dynamicWebSocketFetchBaseUrl) {
|
|
@@ -218,7 +218,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
218
218
|
})
|
|
219
219
|
.catch(function (error) {
|
|
220
220
|
_this.connect(false);
|
|
221
|
-
log.warn(error)
|
|
221
|
+
// log.warn(error)
|
|
222
222
|
_this.connect(false);
|
|
223
223
|
});
|
|
224
224
|
}
|
|
@@ -280,7 +280,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
280
280
|
this.wss.onclose = function (event) {
|
|
281
281
|
_this.isWebSocketConnectionInProgress = false;
|
|
282
282
|
_this.meetingStartRequest && _this.meetingStartRequest.logLevel === LogLevel.Debug && ("WebSocket is closed now.");
|
|
283
|
-
log.warn(event)
|
|
283
|
+
// log.warn(event)
|
|
284
284
|
_this.onWebSocketClosed(event);
|
|
285
285
|
};
|
|
286
286
|
}
|