vani-meeting-client 1.6.4 → 1.6.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.
|
@@ -385,12 +385,14 @@ var WebsocketHandler = /** @class */ (function (_super) {
|
|
|
385
385
|
this.sendSocketMessage(WebSocketBasicEvents.IsSetupDone, checkIfSetupDone);
|
|
386
386
|
log.info("Vani setupDone asked");
|
|
387
387
|
window.setTimeout(function () {
|
|
388
|
-
|
|
388
|
+
var _a;
|
|
389
|
+
if (_this.isSetUpDone || _this.setUpTry > 15) {
|
|
390
|
+
(_a = _this.communicationHandler) === null || _a === void 0 ? void 0 : _a.emitMessageToSource(VaniEvent.OnSocketError, {});
|
|
389
391
|
return;
|
|
390
392
|
}
|
|
391
393
|
_this.askIfSetupDone();
|
|
392
394
|
_this.setUpTry = _this.setUpTry + 1;
|
|
393
|
-
},
|
|
395
|
+
}, 300);
|
|
394
396
|
};
|
|
395
397
|
WebsocketHandler.prototype.onMessage = function (message) {
|
|
396
398
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|