videomail-client 15.7.10 → 15.7.11
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 +24 -24
- package/dist/esm/index.js +24 -24
- package/dist/umd/index.js +24 -24
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -10970,7 +10970,7 @@ var __webpack_exports__ = {};
|
|
|
10970
10970
|
var client = __webpack_require__("Q");
|
|
10971
10971
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10972
10972
|
var package_namespaceObject = {
|
|
10973
|
-
rE: "15.7.
|
|
10973
|
+
rE: "15.7.11"
|
|
10974
10974
|
};
|
|
10975
10975
|
function isAudioEnabled(options) {
|
|
10976
10976
|
return Boolean(options.audio.enabled);
|
|
@@ -17610,8 +17610,8 @@ var __webpack_exports__ = {};
|
|
|
17610
17610
|
let explanation;
|
|
17611
17611
|
if (online) if ("timeout" === cause) explanation = `The server at ${url2Connect} did not respond within ${this.options.timeouts.connection}ms, even though your device is online. This usually points to a firewall or proxy silently dropping the connection. Please try a different network. If the problem persists, contact us.`;
|
|
17612
17612
|
else {
|
|
17613
|
-
const closeSuffix = closeEvent ? ` (
|
|
17614
|
-
explanation = `
|
|
17613
|
+
const closeSuffix = closeEvent ? ` (code ${closeEvent.code})` : "";
|
|
17614
|
+
explanation = `Connection to ${url2Connect} is closed${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us.`;
|
|
17615
17615
|
}
|
|
17616
17616
|
else explanation = "Your device appears to be offline. Please check your internet connection and try again.";
|
|
17617
17617
|
if (this.stream) {
|
|
@@ -17776,7 +17776,7 @@ var __webpack_exports__ = {};
|
|
|
17776
17776
|
});
|
|
17777
17777
|
}, connectionTimeoutMs);
|
|
17778
17778
|
this.stream.on("close", ()=>{
|
|
17779
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed
|
|
17779
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed, connecting=${this.connecting}, connected=${this.connected},`);
|
|
17780
17780
|
const neverConnected = this.connecting && !this.connected;
|
|
17781
17781
|
this.clearConnectionTimeout();
|
|
17782
17782
|
this.connecting = this.connected = false;
|
|
@@ -17788,9 +17788,9 @@ var __webpack_exports__ = {};
|
|
|
17788
17788
|
}, 0);
|
|
17789
17789
|
else if (this.userMediaLoaded) this.initSocket();
|
|
17790
17790
|
});
|
|
17791
|
-
this.stream.on("connect", ()=>{
|
|
17791
|
+
this.stream.on("connect", (args)=>{
|
|
17792
17792
|
var _this_stream;
|
|
17793
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted`);
|
|
17793
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted with args: ${util_pretty(args)}`);
|
|
17794
17794
|
this.clearConnectionTimeout();
|
|
17795
17795
|
const isClosing = (null == (_this_stream = this.stream) ? void 0 : _this_stream.socket.readyState) === WebSocket.CLOSING;
|
|
17796
17796
|
if (!this.connected && !isClosing && !this.unloaded) {
|
|
@@ -17824,35 +17824,35 @@ var __webpack_exports__ = {};
|
|
|
17824
17824
|
this.stream.on("drain", ()=>{
|
|
17825
17825
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted (should not happen!)`);
|
|
17826
17826
|
});
|
|
17827
|
-
this.stream.on("preend", ()=>{
|
|
17828
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted`);
|
|
17827
|
+
this.stream.on("preend", (args)=>{
|
|
17828
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted with args: ${util_pretty(args)}`);
|
|
17829
17829
|
});
|
|
17830
17830
|
this.stream.on("end", ()=>{
|
|
17831
17831
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *end* event emitted`);
|
|
17832
17832
|
});
|
|
17833
|
-
this.stream.on("drain", ()=>{
|
|
17834
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted`);
|
|
17833
|
+
this.stream.on("drain", (args)=>{
|
|
17834
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted with args: ${util_pretty(args)}`);
|
|
17835
17835
|
});
|
|
17836
|
-
this.stream.on("pipe", ()=>{
|
|
17837
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted`);
|
|
17836
|
+
this.stream.on("pipe", (src)=>{
|
|
17837
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted with src: ${util_pretty(src)}`);
|
|
17838
17838
|
});
|
|
17839
|
-
this.stream.on("unpipe", ()=>{
|
|
17840
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted`);
|
|
17839
|
+
this.stream.on("unpipe", (src)=>{
|
|
17840
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted with src: ${util_pretty(src)}`);
|
|
17841
17841
|
});
|
|
17842
|
-
this.stream.on("resume", ()=>{
|
|
17843
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted`);
|
|
17842
|
+
this.stream.on("resume", (args)=>{
|
|
17843
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted with args: ${util_pretty(args)}`);
|
|
17844
17844
|
});
|
|
17845
|
-
this.stream.on("uncork", ()=>{
|
|
17846
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted`);
|
|
17845
|
+
this.stream.on("uncork", (args)=>{
|
|
17846
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted with args: ${util_pretty(args)}`);
|
|
17847
17847
|
});
|
|
17848
|
-
this.stream.on("readable", ()=>{
|
|
17849
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17848
|
+
this.stream.on("readable", (args)=>{
|
|
17849
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *readable* event emitted with args: ${util_pretty(args)}`);
|
|
17850
17850
|
});
|
|
17851
|
-
this.stream.on("prefinish", ()=>{
|
|
17852
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17851
|
+
this.stream.on("prefinish", (args)=>{
|
|
17852
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *prefinish* event emitted with args: ${util_pretty(args)}`);
|
|
17853
17853
|
});
|
|
17854
|
-
this.stream.on("finish", ()=>{
|
|
17855
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17854
|
+
this.stream.on("finish", (args)=>{
|
|
17855
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *finish* event emitted with args: ${util_pretty(args)}`);
|
|
17856
17856
|
});
|
|
17857
17857
|
}
|
|
17858
17858
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -3619,7 +3619,7 @@ const constants = {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
};
|
|
3621
3621
|
var package_namespaceObject = {
|
|
3622
|
-
rE: "15.7.
|
|
3622
|
+
rE: "15.7.11"
|
|
3623
3623
|
};
|
|
3624
3624
|
function isAudioEnabled(options) {
|
|
3625
3625
|
return Boolean(options.audio.enabled);
|
|
@@ -6632,8 +6632,8 @@ class Recorder extends util_Despot {
|
|
|
6632
6632
|
let explanation;
|
|
6633
6633
|
if (online) if ("timeout" === cause) explanation = `The server at ${url2Connect} did not respond within ${this.options.timeouts.connection}ms, even though your device is online. This usually points to a firewall or proxy silently dropping the connection. Please try a different network. If the problem persists, contact us.`;
|
|
6634
6634
|
else {
|
|
6635
|
-
const closeSuffix = closeEvent ? ` (
|
|
6636
|
-
explanation = `
|
|
6635
|
+
const closeSuffix = closeEvent ? ` (code ${closeEvent.code})` : "";
|
|
6636
|
+
explanation = `Connection to ${url2Connect} is closed${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us.`;
|
|
6637
6637
|
}
|
|
6638
6638
|
else explanation = "Your device appears to be offline. Please check your internet connection and try again.";
|
|
6639
6639
|
if (this.stream) {
|
|
@@ -6797,7 +6797,7 @@ class Recorder extends util_Despot {
|
|
|
6797
6797
|
});
|
|
6798
6798
|
}, connectionTimeoutMs);
|
|
6799
6799
|
this.stream.on("close", ()=>{
|
|
6800
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed
|
|
6800
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed, connecting=${this.connecting}, connected=${this.connected},`);
|
|
6801
6801
|
const neverConnected = this.connecting && !this.connected;
|
|
6802
6802
|
this.clearConnectionTimeout();
|
|
6803
6803
|
this.connecting = this.connected = false;
|
|
@@ -6809,8 +6809,8 @@ class Recorder extends util_Despot {
|
|
|
6809
6809
|
}, 0);
|
|
6810
6810
|
else if (this.userMediaLoaded) this.initSocket();
|
|
6811
6811
|
});
|
|
6812
|
-
this.stream.on("connect", ()=>{
|
|
6813
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted`);
|
|
6812
|
+
this.stream.on("connect", (args)=>{
|
|
6813
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted with args: ${util_pretty(args)}`);
|
|
6814
6814
|
this.clearConnectionTimeout();
|
|
6815
6815
|
const isClosing = this.stream?.socket.readyState === WebSocket.CLOSING;
|
|
6816
6816
|
if (!this.connected && !isClosing && !this.unloaded) {
|
|
@@ -6844,35 +6844,35 @@ class Recorder extends util_Despot {
|
|
|
6844
6844
|
this.stream.on("drain", ()=>{
|
|
6845
6845
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted (should not happen!)`);
|
|
6846
6846
|
});
|
|
6847
|
-
this.stream.on("preend", ()=>{
|
|
6848
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted`);
|
|
6847
|
+
this.stream.on("preend", (args)=>{
|
|
6848
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted with args: ${util_pretty(args)}`);
|
|
6849
6849
|
});
|
|
6850
6850
|
this.stream.on("end", ()=>{
|
|
6851
6851
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *end* event emitted`);
|
|
6852
6852
|
});
|
|
6853
|
-
this.stream.on("drain", ()=>{
|
|
6854
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted`);
|
|
6853
|
+
this.stream.on("drain", (args)=>{
|
|
6854
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted with args: ${util_pretty(args)}`);
|
|
6855
6855
|
});
|
|
6856
|
-
this.stream.on("pipe", ()=>{
|
|
6857
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted`);
|
|
6856
|
+
this.stream.on("pipe", (src)=>{
|
|
6857
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted with src: ${util_pretty(src)}`);
|
|
6858
6858
|
});
|
|
6859
|
-
this.stream.on("unpipe", ()=>{
|
|
6860
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted`);
|
|
6859
|
+
this.stream.on("unpipe", (src)=>{
|
|
6860
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted with src: ${util_pretty(src)}`);
|
|
6861
6861
|
});
|
|
6862
|
-
this.stream.on("resume", ()=>{
|
|
6863
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted`);
|
|
6862
|
+
this.stream.on("resume", (args)=>{
|
|
6863
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted with args: ${util_pretty(args)}`);
|
|
6864
6864
|
});
|
|
6865
|
-
this.stream.on("uncork", ()=>{
|
|
6866
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted`);
|
|
6865
|
+
this.stream.on("uncork", (args)=>{
|
|
6866
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted with args: ${util_pretty(args)}`);
|
|
6867
6867
|
});
|
|
6868
|
-
this.stream.on("readable", ()=>{
|
|
6869
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
6868
|
+
this.stream.on("readable", (args)=>{
|
|
6869
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *readable* event emitted with args: ${util_pretty(args)}`);
|
|
6870
6870
|
});
|
|
6871
|
-
this.stream.on("prefinish", ()=>{
|
|
6872
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
6871
|
+
this.stream.on("prefinish", (args)=>{
|
|
6872
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *prefinish* event emitted with args: ${util_pretty(args)}`);
|
|
6873
6873
|
});
|
|
6874
|
-
this.stream.on("finish", ()=>{
|
|
6875
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
6874
|
+
this.stream.on("finish", (args)=>{
|
|
6875
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *finish* event emitted with args: ${util_pretty(args)}`);
|
|
6876
6876
|
});
|
|
6877
6877
|
}
|
|
6878
6878
|
}
|
package/dist/umd/index.js
CHANGED
|
@@ -10976,7 +10976,7 @@
|
|
|
10976
10976
|
var client = __webpack_require__("Q");
|
|
10977
10977
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10978
10978
|
var package_namespaceObject = {
|
|
10979
|
-
rE: "15.7.
|
|
10979
|
+
rE: "15.7.11"
|
|
10980
10980
|
};
|
|
10981
10981
|
function isAudioEnabled(options) {
|
|
10982
10982
|
return Boolean(options.audio.enabled);
|
|
@@ -17381,8 +17381,8 @@
|
|
|
17381
17381
|
let explanation;
|
|
17382
17382
|
if (online) if ("timeout" === cause) explanation = `The server at ${url2Connect} did not respond within ${this.options.timeouts.connection}ms, even though your device is online. This usually points to a firewall or proxy silently dropping the connection. Please try a different network. If the problem persists, contact us.`;
|
|
17383
17383
|
else {
|
|
17384
|
-
const closeSuffix = closeEvent ? ` (
|
|
17385
|
-
explanation = `
|
|
17384
|
+
const closeSuffix = closeEvent ? ` (code ${closeEvent.code})` : "";
|
|
17385
|
+
explanation = `Connection to ${url2Connect} is closed${closeSuffix}. Please check your internet connection and try again. If the problem persists, contact us.`;
|
|
17386
17386
|
}
|
|
17387
17387
|
else explanation = "Your device appears to be offline. Please check your internet connection and try again.";
|
|
17388
17388
|
if (this.stream) {
|
|
@@ -17546,7 +17546,7 @@
|
|
|
17546
17546
|
});
|
|
17547
17547
|
}, connectionTimeoutMs);
|
|
17548
17548
|
this.stream.on("close", ()=>{
|
|
17549
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed
|
|
17549
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed, connecting=${this.connecting}, connected=${this.connected},`);
|
|
17550
17550
|
const neverConnected = this.connecting && !this.connected;
|
|
17551
17551
|
this.clearConnectionTimeout();
|
|
17552
17552
|
this.connecting = this.connected = false;
|
|
@@ -17558,8 +17558,8 @@
|
|
|
17558
17558
|
}, 0);
|
|
17559
17559
|
else if (this.userMediaLoaded) this.initSocket();
|
|
17560
17560
|
});
|
|
17561
|
-
this.stream.on("connect", ()=>{
|
|
17562
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted`);
|
|
17561
|
+
this.stream.on("connect", (args)=>{
|
|
17562
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted with args: ${util_pretty(args)}`);
|
|
17563
17563
|
this.clearConnectionTimeout();
|
|
17564
17564
|
const isClosing = this.stream?.socket.readyState === WebSocket.CLOSING;
|
|
17565
17565
|
if (!this.connected && !isClosing && !this.unloaded) {
|
|
@@ -17593,35 +17593,35 @@
|
|
|
17593
17593
|
this.stream.on("drain", ()=>{
|
|
17594
17594
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted (should not happen!)`);
|
|
17595
17595
|
});
|
|
17596
|
-
this.stream.on("preend", ()=>{
|
|
17597
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted`);
|
|
17596
|
+
this.stream.on("preend", (args)=>{
|
|
17597
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted with args: ${util_pretty(args)}`);
|
|
17598
17598
|
});
|
|
17599
17599
|
this.stream.on("end", ()=>{
|
|
17600
17600
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *end* event emitted`);
|
|
17601
17601
|
});
|
|
17602
|
-
this.stream.on("drain", ()=>{
|
|
17603
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted`);
|
|
17602
|
+
this.stream.on("drain", (args)=>{
|
|
17603
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted with args: ${util_pretty(args)}`);
|
|
17604
17604
|
});
|
|
17605
|
-
this.stream.on("pipe", ()=>{
|
|
17606
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted`);
|
|
17605
|
+
this.stream.on("pipe", (src)=>{
|
|
17606
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted with src: ${util_pretty(src)}`);
|
|
17607
17607
|
});
|
|
17608
|
-
this.stream.on("unpipe", ()=>{
|
|
17609
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted`);
|
|
17608
|
+
this.stream.on("unpipe", (src)=>{
|
|
17609
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted with src: ${util_pretty(src)}`);
|
|
17610
17610
|
});
|
|
17611
|
-
this.stream.on("resume", ()=>{
|
|
17612
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted`);
|
|
17611
|
+
this.stream.on("resume", (args)=>{
|
|
17612
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted with args: ${util_pretty(args)}`);
|
|
17613
17613
|
});
|
|
17614
|
-
this.stream.on("uncork", ()=>{
|
|
17615
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted`);
|
|
17614
|
+
this.stream.on("uncork", (args)=>{
|
|
17615
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted with args: ${util_pretty(args)}`);
|
|
17616
17616
|
});
|
|
17617
|
-
this.stream.on("readable", ()=>{
|
|
17618
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17617
|
+
this.stream.on("readable", (args)=>{
|
|
17618
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *readable* event emitted with args: ${util_pretty(args)}`);
|
|
17619
17619
|
});
|
|
17620
|
-
this.stream.on("prefinish", ()=>{
|
|
17621
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17620
|
+
this.stream.on("prefinish", (args)=>{
|
|
17621
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *prefinish* event emitted with args: ${util_pretty(args)}`);
|
|
17622
17622
|
});
|
|
17623
|
-
this.stream.on("finish", ()=>{
|
|
17624
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17623
|
+
this.stream.on("finish", (args)=>{
|
|
17624
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *finish* event emitted with args: ${util_pretty(args)}`);
|
|
17625
17625
|
});
|
|
17626
17626
|
}
|
|
17627
17627
|
}
|