vani-meeting-client 2.3.7-beta1 → 2.3.7-beta2
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.
|
@@ -324,15 +324,10 @@ var MediaAdaptationManager = /** @class */ (function () {
|
|
|
324
324
|
// ─── Lifecycle ───────────────────────────────────────────────
|
|
325
325
|
MediaAdaptationManager.prototype.start = function () {
|
|
326
326
|
return __awaiter(this, void 0, void 0, function () {
|
|
327
|
-
var nonClosedPeerConnection;
|
|
328
327
|
return __generator(this, function (_a) {
|
|
329
328
|
if (this.handle) {
|
|
330
329
|
return [2 /*return*/];
|
|
331
330
|
}
|
|
332
|
-
nonClosedPeerConnection = this.getPeerConnections().find(function (eachPeerConnection) { return eachPeerConnection.connectionState !== 'closed'; });
|
|
333
|
-
if (nonClosedPeerConnection) {
|
|
334
|
-
this.handle = setTimeout(this.tick, 3000);
|
|
335
|
-
}
|
|
336
331
|
return [2 /*return*/];
|
|
337
332
|
});
|
|
338
333
|
});
|