vani-meeting-client 1.2.1 → 1.2.2
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.
|
@@ -429,6 +429,7 @@ var CommunicationHandler = /** @class */ (function () {
|
|
|
429
429
|
this.emitMessageToSource(VaniEvent.OnNotReachable, {});
|
|
430
430
|
}
|
|
431
431
|
this.isReachable = false;
|
|
432
|
+
console.log("checkIfInternetReachable");
|
|
432
433
|
fetch(this.meetingStartRequest.urlToCheckInternetPresent, {
|
|
433
434
|
method: 'GET',
|
|
434
435
|
mode: 'no-cors',
|
|
@@ -452,6 +453,7 @@ var CommunicationHandler = /** @class */ (function () {
|
|
|
452
453
|
};
|
|
453
454
|
CommunicationHandler.prototype.onApiResponded = function (count) {
|
|
454
455
|
var _a, _b, _c;
|
|
456
|
+
console.log("onApiResponded", count);
|
|
455
457
|
if (this.isReachable === false) {
|
|
456
458
|
this.isReachable = true;
|
|
457
459
|
this.internetReachbilityTimeout = undefined;
|
|
@@ -91,6 +91,7 @@ var SFUHandler = /** @class */ (function (_super) {
|
|
|
91
91
|
return _this;
|
|
92
92
|
}
|
|
93
93
|
SFUHandler.prototype.reconnectedWithoutPing = function () {
|
|
94
|
+
console.log("reconnectedWithoutPing");
|
|
94
95
|
this.onReconnect();
|
|
95
96
|
};
|
|
96
97
|
SFUHandler.prototype.onReconnect = function () {
|
|
@@ -123,12 +124,14 @@ var SFUHandler = /** @class */ (function (_super) {
|
|
|
123
124
|
iceParameters = data.message.iceParameters;
|
|
124
125
|
(_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.downloadParticipantsData();
|
|
125
126
|
if (!(this.consumerTransport && this.consumerTransport.id === transportId)) return [3 /*break*/, 2];
|
|
127
|
+
console.log("Restat Ice consumer");
|
|
126
128
|
return [4 /*yield*/, this.consumerTransport.restartIce({ iceParameters: iceParameters })];
|
|
127
129
|
case 1:
|
|
128
130
|
_b.sent();
|
|
129
131
|
return [3 /*break*/, 4];
|
|
130
132
|
case 2:
|
|
131
133
|
if (!(this.sendTransport && this.sendTransport.id === transportId)) return [3 /*break*/, 4];
|
|
134
|
+
console.log("Restat Ice sender");
|
|
132
135
|
return [4 /*yield*/, this.sendTransport.restartIce({ iceParameters: iceParameters })];
|
|
133
136
|
case 3:
|
|
134
137
|
_b.sent();
|