videomail-client 11.4.12 → 11.4.13
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 +4 -2
- package/dist/esm/index.js +3 -2
- package/dist/umd/index.js +3 -2
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -10642,7 +10642,7 @@ var __webpack_exports__ = {};
|
|
|
10642
10642
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10643
10643
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10644
10644
|
var package_namespaceObject = {
|
|
10645
|
-
rE: "11.4.
|
|
10645
|
+
rE: "11.4.13"
|
|
10646
10646
|
};
|
|
10647
10647
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10648
10648
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -16901,12 +16901,14 @@ var __webpack_exports__ = {};
|
|
|
16901
16901
|
this.hide();
|
|
16902
16902
|
const width = this.getRecorderWidth(true);
|
|
16903
16903
|
const height = this.getRecorderHeight(true);
|
|
16904
|
+
var _args_duration;
|
|
16905
|
+
const duration = null != (_args_duration = args.duration) ? _args_duration : -1;
|
|
16904
16906
|
this.emit("PREVIEW", {
|
|
16905
16907
|
key: this.key,
|
|
16906
16908
|
width,
|
|
16907
16909
|
height,
|
|
16908
16910
|
hasAudio,
|
|
16909
|
-
duration
|
|
16911
|
+
duration
|
|
16910
16912
|
});
|
|
16911
16913
|
if (this.stopTime) this.waitingTime = Date.now() - this.stopTime;
|
|
16912
16914
|
null != this.recordingStats || (this.recordingStats = {});
|
package/dist/esm/index.js
CHANGED
|
@@ -3607,7 +3607,7 @@ const constants = {
|
|
|
3607
3607
|
}
|
|
3608
3608
|
};
|
|
3609
3609
|
var package_namespaceObject = {
|
|
3610
|
-
rE: "11.4.
|
|
3610
|
+
rE: "11.4.13"
|
|
3611
3611
|
};
|
|
3612
3612
|
const VideoType = {
|
|
3613
3613
|
WebM: "webm",
|
|
@@ -6366,12 +6366,13 @@ class Recorder extends util_Despot {
|
|
|
6366
6366
|
this.hide();
|
|
6367
6367
|
const width = this.getRecorderWidth(true);
|
|
6368
6368
|
const height = this.getRecorderHeight(true);
|
|
6369
|
+
const duration = args.duration ?? -1;
|
|
6369
6370
|
this.emit("PREVIEW", {
|
|
6370
6371
|
key: this.key,
|
|
6371
6372
|
width,
|
|
6372
6373
|
height,
|
|
6373
6374
|
hasAudio,
|
|
6374
|
-
duration
|
|
6375
|
+
duration
|
|
6375
6376
|
});
|
|
6376
6377
|
if (this.stopTime) this.waitingTime = Date.now() - this.stopTime;
|
|
6377
6378
|
this.recordingStats ??= {};
|
package/dist/umd/index.js
CHANGED
|
@@ -10648,7 +10648,7 @@
|
|
|
10648
10648
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10649
10649
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10650
10650
|
var package_namespaceObject = {
|
|
10651
|
-
rE: "11.4.
|
|
10651
|
+
rE: "11.4.13"
|
|
10652
10652
|
};
|
|
10653
10653
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10654
10654
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
@@ -16734,12 +16734,13 @@
|
|
|
16734
16734
|
this.hide();
|
|
16735
16735
|
const width = this.getRecorderWidth(true);
|
|
16736
16736
|
const height = this.getRecorderHeight(true);
|
|
16737
|
+
const duration = args.duration ?? -1;
|
|
16737
16738
|
this.emit("PREVIEW", {
|
|
16738
16739
|
key: this.key,
|
|
16739
16740
|
width,
|
|
16740
16741
|
height,
|
|
16741
16742
|
hasAudio,
|
|
16742
|
-
duration
|
|
16743
|
+
duration
|
|
16743
16744
|
});
|
|
16744
16745
|
if (this.stopTime) this.waitingTime = Date.now() - this.stopTime;
|
|
16745
16746
|
this.recordingStats ??= {};
|