videomail-client 15.7.10 → 15.7.12
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 +29 -30
- package/dist/esm/index.js +29 -30
- package/dist/umd/index.js +29 -30
- 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.12"
|
|
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,21 +17776,20 @@ var __webpack_exports__ = {};
|
|
|
17776
17776
|
});
|
|
17777
17777
|
}, connectionTimeoutMs);
|
|
17778
17778
|
this.stream.on("close", ()=>{
|
|
17779
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed
|
|
17780
|
-
const
|
|
17781
|
-
this.
|
|
17782
|
-
|
|
17783
|
-
|
|
17779
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed, connecting=${this.connecting}, connected=${this.connected},`);
|
|
17780
|
+
const tryReconnect = this.connecting && this.userMediaLoaded;
|
|
17781
|
+
this.connected = false;
|
|
17782
|
+
if (tryReconnect) this.initSocket();
|
|
17783
|
+
else window.setTimeout(()=>{
|
|
17784
17784
|
this.failConnection({
|
|
17785
17785
|
url2Connect,
|
|
17786
17786
|
cause: "closed"
|
|
17787
17787
|
});
|
|
17788
17788
|
}, 0);
|
|
17789
|
-
else if (this.userMediaLoaded) this.initSocket();
|
|
17790
17789
|
});
|
|
17791
|
-
this.stream.on("connect", ()=>{
|
|
17790
|
+
this.stream.on("connect", (args)=>{
|
|
17792
17791
|
var _this_stream;
|
|
17793
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted`);
|
|
17792
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted with args: ${util_pretty(args)}`);
|
|
17794
17793
|
this.clearConnectionTimeout();
|
|
17795
17794
|
const isClosing = (null == (_this_stream = this.stream) ? void 0 : _this_stream.socket.readyState) === WebSocket.CLOSING;
|
|
17796
17795
|
if (!this.connected && !isClosing && !this.unloaded) {
|
|
@@ -17824,35 +17823,35 @@ var __webpack_exports__ = {};
|
|
|
17824
17823
|
this.stream.on("drain", ()=>{
|
|
17825
17824
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted (should not happen!)`);
|
|
17826
17825
|
});
|
|
17827
|
-
this.stream.on("preend", ()=>{
|
|
17828
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted`);
|
|
17826
|
+
this.stream.on("preend", (args)=>{
|
|
17827
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted with args: ${util_pretty(args)}`);
|
|
17829
17828
|
});
|
|
17830
17829
|
this.stream.on("end", ()=>{
|
|
17831
17830
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *end* event emitted`);
|
|
17832
17831
|
});
|
|
17833
|
-
this.stream.on("drain", ()=>{
|
|
17834
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted`);
|
|
17832
|
+
this.stream.on("drain", (args)=>{
|
|
17833
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted with args: ${util_pretty(args)}`);
|
|
17835
17834
|
});
|
|
17836
|
-
this.stream.on("pipe", ()=>{
|
|
17837
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted`);
|
|
17835
|
+
this.stream.on("pipe", (src)=>{
|
|
17836
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted with src: ${util_pretty(src)}`);
|
|
17838
17837
|
});
|
|
17839
|
-
this.stream.on("unpipe", ()=>{
|
|
17840
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted`);
|
|
17838
|
+
this.stream.on("unpipe", (src)=>{
|
|
17839
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted with src: ${util_pretty(src)}`);
|
|
17841
17840
|
});
|
|
17842
|
-
this.stream.on("resume", ()=>{
|
|
17843
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted`);
|
|
17841
|
+
this.stream.on("resume", (args)=>{
|
|
17842
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted with args: ${util_pretty(args)}`);
|
|
17844
17843
|
});
|
|
17845
|
-
this.stream.on("uncork", ()=>{
|
|
17846
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted`);
|
|
17844
|
+
this.stream.on("uncork", (args)=>{
|
|
17845
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted with args: ${util_pretty(args)}`);
|
|
17847
17846
|
});
|
|
17848
|
-
this.stream.on("readable", ()=>{
|
|
17849
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17847
|
+
this.stream.on("readable", (args)=>{
|
|
17848
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *readable* event emitted with args: ${util_pretty(args)}`);
|
|
17850
17849
|
});
|
|
17851
|
-
this.stream.on("prefinish", ()=>{
|
|
17852
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17850
|
+
this.stream.on("prefinish", (args)=>{
|
|
17851
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *prefinish* event emitted with args: ${util_pretty(args)}`);
|
|
17853
17852
|
});
|
|
17854
|
-
this.stream.on("finish", ()=>{
|
|
17855
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17853
|
+
this.stream.on("finish", (args)=>{
|
|
17854
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *finish* event emitted with args: ${util_pretty(args)}`);
|
|
17856
17855
|
});
|
|
17857
17856
|
}
|
|
17858
17857
|
}
|
|
@@ -18261,7 +18260,7 @@ var __webpack_exports__ = {};
|
|
|
18261
18260
|
record() {
|
|
18262
18261
|
if (this.unloaded) return;
|
|
18263
18262
|
if (!this.connected) {
|
|
18264
|
-
this.options.logger.debug("Recorder: reconnecting before recording
|
|
18263
|
+
this.options.logger.debug("Recorder: reconnecting before recording …");
|
|
18265
18264
|
this.initSocket(()=>{
|
|
18266
18265
|
this.once("USER_MEDIA_READY", this.record.bind(this));
|
|
18267
18266
|
});
|
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.12"
|
|
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,20 +6797,19 @@ 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
|
|
6801
|
-
const
|
|
6802
|
-
this.
|
|
6803
|
-
|
|
6804
|
-
|
|
6800
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed, connecting=${this.connecting}, connected=${this.connected},`);
|
|
6801
|
+
const tryReconnect = this.connecting && this.userMediaLoaded;
|
|
6802
|
+
this.connected = false;
|
|
6803
|
+
if (tryReconnect) this.initSocket();
|
|
6804
|
+
else window.setTimeout(()=>{
|
|
6805
6805
|
this.failConnection({
|
|
6806
6806
|
url2Connect,
|
|
6807
6807
|
cause: "closed"
|
|
6808
6808
|
});
|
|
6809
6809
|
}, 0);
|
|
6810
|
-
else if (this.userMediaLoaded) this.initSocket();
|
|
6811
6810
|
});
|
|
6812
|
-
this.stream.on("connect", ()=>{
|
|
6813
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted`);
|
|
6811
|
+
this.stream.on("connect", (args)=>{
|
|
6812
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted with args: ${util_pretty(args)}`);
|
|
6814
6813
|
this.clearConnectionTimeout();
|
|
6815
6814
|
const isClosing = this.stream?.socket.readyState === WebSocket.CLOSING;
|
|
6816
6815
|
if (!this.connected && !isClosing && !this.unloaded) {
|
|
@@ -6844,35 +6843,35 @@ class Recorder extends util_Despot {
|
|
|
6844
6843
|
this.stream.on("drain", ()=>{
|
|
6845
6844
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted (should not happen!)`);
|
|
6846
6845
|
});
|
|
6847
|
-
this.stream.on("preend", ()=>{
|
|
6848
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted`);
|
|
6846
|
+
this.stream.on("preend", (args)=>{
|
|
6847
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted with args: ${util_pretty(args)}`);
|
|
6849
6848
|
});
|
|
6850
6849
|
this.stream.on("end", ()=>{
|
|
6851
6850
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *end* event emitted`);
|
|
6852
6851
|
});
|
|
6853
|
-
this.stream.on("drain", ()=>{
|
|
6854
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted`);
|
|
6852
|
+
this.stream.on("drain", (args)=>{
|
|
6853
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted with args: ${util_pretty(args)}`);
|
|
6855
6854
|
});
|
|
6856
|
-
this.stream.on("pipe", ()=>{
|
|
6857
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted`);
|
|
6855
|
+
this.stream.on("pipe", (src)=>{
|
|
6856
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted with src: ${util_pretty(src)}`);
|
|
6858
6857
|
});
|
|
6859
|
-
this.stream.on("unpipe", ()=>{
|
|
6860
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted`);
|
|
6858
|
+
this.stream.on("unpipe", (src)=>{
|
|
6859
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted with src: ${util_pretty(src)}`);
|
|
6861
6860
|
});
|
|
6862
|
-
this.stream.on("resume", ()=>{
|
|
6863
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted`);
|
|
6861
|
+
this.stream.on("resume", (args)=>{
|
|
6862
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted with args: ${util_pretty(args)}`);
|
|
6864
6863
|
});
|
|
6865
|
-
this.stream.on("uncork", ()=>{
|
|
6866
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted`);
|
|
6864
|
+
this.stream.on("uncork", (args)=>{
|
|
6865
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted with args: ${util_pretty(args)}`);
|
|
6867
6866
|
});
|
|
6868
|
-
this.stream.on("readable", ()=>{
|
|
6869
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
6867
|
+
this.stream.on("readable", (args)=>{
|
|
6868
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *readable* event emitted with args: ${util_pretty(args)}`);
|
|
6870
6869
|
});
|
|
6871
|
-
this.stream.on("prefinish", ()=>{
|
|
6872
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
6870
|
+
this.stream.on("prefinish", (args)=>{
|
|
6871
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *prefinish* event emitted with args: ${util_pretty(args)}`);
|
|
6873
6872
|
});
|
|
6874
|
-
this.stream.on("finish", ()=>{
|
|
6875
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
6873
|
+
this.stream.on("finish", (args)=>{
|
|
6874
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *finish* event emitted with args: ${util_pretty(args)}`);
|
|
6876
6875
|
});
|
|
6877
6876
|
}
|
|
6878
6877
|
}
|
|
@@ -7270,7 +7269,7 @@ class Recorder extends util_Despot {
|
|
|
7270
7269
|
record() {
|
|
7271
7270
|
if (this.unloaded) return;
|
|
7272
7271
|
if (!this.connected) {
|
|
7273
|
-
this.options.logger.debug("Recorder: reconnecting before recording
|
|
7272
|
+
this.options.logger.debug("Recorder: reconnecting before recording …");
|
|
7274
7273
|
this.initSocket(()=>{
|
|
7275
7274
|
this.once("USER_MEDIA_READY", this.record.bind(this));
|
|
7276
7275
|
});
|
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.12"
|
|
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,20 +17546,19 @@
|
|
|
17546
17546
|
});
|
|
17547
17547
|
}, connectionTimeoutMs);
|
|
17548
17548
|
this.stream.on("close", ()=>{
|
|
17549
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed
|
|
17550
|
-
const
|
|
17551
|
-
this.
|
|
17552
|
-
|
|
17553
|
-
|
|
17549
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream has closed, connecting=${this.connecting}, connected=${this.connected},`);
|
|
17550
|
+
const tryReconnect = this.connecting && this.userMediaLoaded;
|
|
17551
|
+
this.connected = false;
|
|
17552
|
+
if (tryReconnect) this.initSocket();
|
|
17553
|
+
else window.setTimeout(()=>{
|
|
17554
17554
|
this.failConnection({
|
|
17555
17555
|
url2Connect,
|
|
17556
17556
|
cause: "closed"
|
|
17557
17557
|
});
|
|
17558
17558
|
}, 0);
|
|
17559
|
-
else if (this.userMediaLoaded) this.initSocket();
|
|
17560
17559
|
});
|
|
17561
|
-
this.stream.on("connect", ()=>{
|
|
17562
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted`);
|
|
17560
|
+
this.stream.on("connect", (args)=>{
|
|
17561
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *connect* event emitted with args: ${util_pretty(args)}`);
|
|
17563
17562
|
this.clearConnectionTimeout();
|
|
17564
17563
|
const isClosing = this.stream?.socket.readyState === WebSocket.CLOSING;
|
|
17565
17564
|
if (!this.connected && !isClosing && !this.unloaded) {
|
|
@@ -17593,35 +17592,35 @@
|
|
|
17593
17592
|
this.stream.on("drain", ()=>{
|
|
17594
17593
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted (should not happen!)`);
|
|
17595
17594
|
});
|
|
17596
|
-
this.stream.on("preend", ()=>{
|
|
17597
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted`);
|
|
17595
|
+
this.stream.on("preend", (args)=>{
|
|
17596
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *preend* event emitted with args: ${util_pretty(args)}`);
|
|
17598
17597
|
});
|
|
17599
17598
|
this.stream.on("end", ()=>{
|
|
17600
17599
|
this.options.logger.debug(`${PIPE_SYMBOL}Stream *end* event emitted`);
|
|
17601
17600
|
});
|
|
17602
|
-
this.stream.on("drain", ()=>{
|
|
17603
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted`);
|
|
17601
|
+
this.stream.on("drain", (args)=>{
|
|
17602
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *drain* event emitted with args: ${util_pretty(args)}`);
|
|
17604
17603
|
});
|
|
17605
|
-
this.stream.on("pipe", ()=>{
|
|
17606
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted`);
|
|
17604
|
+
this.stream.on("pipe", (src)=>{
|
|
17605
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *pipe* event emitted with src: ${util_pretty(src)}`);
|
|
17607
17606
|
});
|
|
17608
|
-
this.stream.on("unpipe", ()=>{
|
|
17609
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted`);
|
|
17607
|
+
this.stream.on("unpipe", (src)=>{
|
|
17608
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *unpipe* event emitted with src: ${util_pretty(src)}`);
|
|
17610
17609
|
});
|
|
17611
|
-
this.stream.on("resume", ()=>{
|
|
17612
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted`);
|
|
17610
|
+
this.stream.on("resume", (args)=>{
|
|
17611
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *resume* event emitted with args: ${util_pretty(args)}`);
|
|
17613
17612
|
});
|
|
17614
|
-
this.stream.on("uncork", ()=>{
|
|
17615
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted`);
|
|
17613
|
+
this.stream.on("uncork", (args)=>{
|
|
17614
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *uncork* event emitted with args: ${util_pretty(args)}`);
|
|
17616
17615
|
});
|
|
17617
|
-
this.stream.on("readable", ()=>{
|
|
17618
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17616
|
+
this.stream.on("readable", (args)=>{
|
|
17617
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *readable* event emitted with args: ${util_pretty(args)}`);
|
|
17619
17618
|
});
|
|
17620
|
-
this.stream.on("prefinish", ()=>{
|
|
17621
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17619
|
+
this.stream.on("prefinish", (args)=>{
|
|
17620
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *prefinish* event emitted with args: ${util_pretty(args)}`);
|
|
17622
17621
|
});
|
|
17623
|
-
this.stream.on("finish", ()=>{
|
|
17624
|
-
this.options.logger.debug(`${PIPE_SYMBOL}Stream *
|
|
17622
|
+
this.stream.on("finish", (args)=>{
|
|
17623
|
+
this.options.logger.debug(`${PIPE_SYMBOL}Stream *finish* event emitted with args: ${util_pretty(args)}`);
|
|
17625
17624
|
});
|
|
17626
17625
|
}
|
|
17627
17626
|
}
|
|
@@ -18019,7 +18018,7 @@
|
|
|
18019
18018
|
record() {
|
|
18020
18019
|
if (this.unloaded) return;
|
|
18021
18020
|
if (!this.connected) {
|
|
18022
|
-
this.options.logger.debug("Recorder: reconnecting before recording
|
|
18021
|
+
this.options.logger.debug("Recorder: reconnecting before recording …");
|
|
18023
18022
|
this.initSocket(()=>{
|
|
18024
18023
|
this.once("USER_MEDIA_READY", this.record.bind(this));
|
|
18025
18024
|
});
|