vani-meeting-client 1.6.5 → 1.6.6
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,9 +385,16 @@ 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
|
-
|
|
389
|
-
|
|
390
|
-
|
|
388
|
+
if (_this.isSetUpDone) {
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
else if (_this.setUpTry > 15) {
|
|
392
|
+
setTimeout(function () {
|
|
393
|
+
var _a;
|
|
394
|
+
if (!_this.isSetUpDone) {
|
|
395
|
+
(_a = _this.communicationHandler) === null || _a === void 0 ? void 0 : _a.emitMessageToSource(VaniEvent.OnSocketError, {});
|
|
396
|
+
}
|
|
397
|
+
}, 10000);
|
|
391
398
|
return;
|
|
392
399
|
}
|
|
393
400
|
_this.askIfSetupDone();
|