videomail-client 15.9.0 → 15.9.1
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.
- package/dist/cjs/index.cjs +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/umd/index.js +3 -3
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -10972,7 +10972,7 @@ var __webpack_exports__ = {};
|
|
|
10972
10972
|
var client = __webpack_require__("Q");
|
|
10973
10973
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10974
10974
|
var package_namespaceObject = {
|
|
10975
|
-
rE: "15.9.
|
|
10975
|
+
rE: "15.9.1"
|
|
10976
10976
|
};
|
|
10977
10977
|
function isAudioEnabled(options) {
|
|
10978
10978
|
return Boolean(options.audio.enabled);
|
|
@@ -19705,12 +19705,12 @@ var __webpack_exports__ = {};
|
|
|
19705
19705
|
retryConnection(params) {
|
|
19706
19706
|
if (!this.reconnecting || !this.userMediaLoaded || !this.isOnline() || this.unloaded || this.blocking) return false;
|
|
19707
19707
|
if (void 0 !== this.reconnectTimeout) return true;
|
|
19708
|
-
const delayMs = Math.min(
|
|
19708
|
+
const delayMs = Math.min(1000 * Math.pow(2, this.reconnectAttempts), 10000);
|
|
19709
19709
|
this.reconnectAttempts++;
|
|
19710
19710
|
this.connecting = false;
|
|
19711
19711
|
this.clearConnectionTimeout();
|
|
19712
19712
|
this.discardSocket();
|
|
19713
|
-
this.options.logger.debug(`Recorder: WebSocket
|
|
19713
|
+
this.options.logger.debug(`Recorder: retrying WebSocket connection in ${delayMs}ms (cause ${params.cause}).`);
|
|
19714
19714
|
this.reconnectTimeout = window.setTimeout(()=>{
|
|
19715
19715
|
this.reconnectTimeout = void 0;
|
|
19716
19716
|
if (this.reconnecting && !this.unloaded && !this.blocking) this.initSocket();
|
package/dist/esm/index.js
CHANGED
|
@@ -3620,7 +3620,7 @@ const constants = {
|
|
|
3620
3620
|
}
|
|
3621
3621
|
};
|
|
3622
3622
|
var package_namespaceObject = {
|
|
3623
|
-
rE: "15.9.
|
|
3623
|
+
rE: "15.9.1"
|
|
3624
3624
|
};
|
|
3625
3625
|
function isAudioEnabled(options) {
|
|
3626
3626
|
return Boolean(options.audio.enabled);
|
|
@@ -6734,12 +6734,12 @@ class Recorder extends util_Despot {
|
|
|
6734
6734
|
retryConnection(params) {
|
|
6735
6735
|
if (!this.reconnecting || !this.userMediaLoaded || !this.isOnline() || this.unloaded || this.blocking) return false;
|
|
6736
6736
|
if (void 0 !== this.reconnectTimeout) return true;
|
|
6737
|
-
const delayMs = Math.min(
|
|
6737
|
+
const delayMs = Math.min(1000 * 2 ** this.reconnectAttempts, 10000);
|
|
6738
6738
|
this.reconnectAttempts++;
|
|
6739
6739
|
this.connecting = false;
|
|
6740
6740
|
this.clearConnectionTimeout();
|
|
6741
6741
|
this.discardSocket();
|
|
6742
|
-
this.options.logger.debug(`Recorder: WebSocket
|
|
6742
|
+
this.options.logger.debug(`Recorder: retrying WebSocket connection in ${delayMs}ms (cause ${params.cause}).`);
|
|
6743
6743
|
this.reconnectTimeout = window.setTimeout(()=>{
|
|
6744
6744
|
this.reconnectTimeout = void 0;
|
|
6745
6745
|
if (this.reconnecting && !this.unloaded && !this.blocking) this.initSocket();
|
package/dist/umd/index.js
CHANGED
|
@@ -10978,7 +10978,7 @@
|
|
|
10978
10978
|
var client = __webpack_require__("Q");
|
|
10979
10979
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10980
10980
|
var package_namespaceObject = {
|
|
10981
|
-
rE: "15.9.
|
|
10981
|
+
rE: "15.9.1"
|
|
10982
10982
|
};
|
|
10983
10983
|
function isAudioEnabled(options) {
|
|
10984
10984
|
return Boolean(options.audio.enabled);
|
|
@@ -19486,12 +19486,12 @@
|
|
|
19486
19486
|
retryConnection(params) {
|
|
19487
19487
|
if (!this.reconnecting || !this.userMediaLoaded || !this.isOnline() || this.unloaded || this.blocking) return false;
|
|
19488
19488
|
if (void 0 !== this.reconnectTimeout) return true;
|
|
19489
|
-
const delayMs = Math.min(
|
|
19489
|
+
const delayMs = Math.min(1000 * 2 ** this.reconnectAttempts, 10000);
|
|
19490
19490
|
this.reconnectAttempts++;
|
|
19491
19491
|
this.connecting = false;
|
|
19492
19492
|
this.clearConnectionTimeout();
|
|
19493
19493
|
this.discardSocket();
|
|
19494
|
-
this.options.logger.debug(`Recorder: WebSocket
|
|
19494
|
+
this.options.logger.debug(`Recorder: retrying WebSocket connection in ${delayMs}ms (cause ${params.cause}).`);
|
|
19495
19495
|
this.reconnectTimeout = window.setTimeout(()=>{
|
|
19496
19496
|
this.reconnectTimeout = void 0;
|
|
19497
19497
|
if (this.reconnecting && !this.unloaded && !this.blocking) this.initSocket();
|