@bigbinary/neeto-media-recorder 2.6.8 → 2.6.10
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/core.js +1 -0
- package/core.js.map +1 -1
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +1 -1
package/core.js
CHANGED
|
@@ -1070,6 +1070,7 @@ var MultipartS3Uploader = /*#__PURE__*/function () {
|
|
|
1070
1070
|
_classPrivateFieldGet(_this, _unUploadedChunks).push(data);
|
|
1071
1071
|
}
|
|
1072
1072
|
_classPrivateFieldGet(_this, _logger$1).info("Current unuploaded data size is ", _classPrivateFieldGet(_this, _getCurrentUnUploadedBlob).call(_this).size / 1024 / 1024, "MB");
|
|
1073
|
+
if (_classPrivateFieldGet(_this, _isRecordingNotSet)) return;
|
|
1073
1074
|
if (_classPrivateFieldGet(_this, _getCurrentUnUploadedBlob).call(_this).size > _this.MIN_UPLOAD_CHUNK_SIZE) {
|
|
1074
1075
|
var uploadChunkToS3Promise = _classPrivateFieldGet(_this, _uploadChunkToS).call(_this, _classPrivateFieldGet(_this, _unUploadedChunks));
|
|
1075
1076
|
_classPrivateFieldGet(_this, _pendingS3ChunkUploads).push(uploadChunkToS3Promise);
|