speechrecorderng 3.3.0 → 3.3.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/esm2020/lib/audio/capture/capture.mjs +3 -3
- package/esm2020/lib/speechrecorder/session/audiorecorder.mjs +3 -3
- package/esm2020/lib/speechrecorder/session/sessionmanager.mjs +3 -3
- package/esm2020/lib/spr.module.version.mjs +2 -2
- package/fesm2015/speechrecorderng.mjs +7 -7
- package/fesm2015/speechrecorderng.mjs.map +1 -1
- package/fesm2020/speechrecorderng.mjs +7 -7
- package/fesm2020/speechrecorderng.mjs.map +1 -1
- package/lib/spr.module.version.d.ts +1 -1
- package/package.json +14 -15
|
@@ -3206,9 +3206,9 @@ class AudioCapture {
|
|
|
3206
3206
|
this._recUUID = UUID.generate();
|
|
3207
3207
|
}
|
|
3208
3208
|
this.persistError = null;
|
|
3209
|
-
console.
|
|
3209
|
+
//console.debug("Audio capture initialize storage for type: "+this._audioStorageType);
|
|
3210
3210
|
if (AudioStorageType.DB_CHUNKED === this._audioStorageType && this._persistentAudioStorageTarget && this._recUUID) {
|
|
3211
|
-
console.debug("Create indexed db audio buffer.");
|
|
3211
|
+
//console.debug("Create indexed db audio buffer.");
|
|
3212
3212
|
this.inddbAudioBuffer = new IndexedDbAudioBuffer(this._persistentAudioStorageTarget, this.channelCount, this.currentSampleRate, AudioCapture.BUFFER_SIZE, 0, this._recUUID);
|
|
3213
3213
|
}
|
|
3214
3214
|
if (!(AudioStorageType.NET_CHUNKED === this._audioStorageType)) {
|
|
@@ -13675,7 +13675,7 @@ class SessionManager extends BasicRecorder {
|
|
|
13675
13675
|
const sr = this.ac.currentSampleRate;
|
|
13676
13676
|
const chFl = sr * RecordingService.DEFAULT_CHUNKED_DOWNLOAD_SECONDS;
|
|
13677
13677
|
//console.debug("stopped(): rfID: "+this._recordingFile?.recordingFileId+", net ab url: " + burl+", frames: "+this.ac.framesRecorded+", sample rate: "+sr);
|
|
13678
|
-
let netAb = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID,
|
|
13678
|
+
let netAb = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID, chFl);
|
|
13679
13679
|
as = netAb;
|
|
13680
13680
|
if (this.uploadSet) {
|
|
13681
13681
|
//let rp=new ReadyProvider();
|
|
@@ -13722,7 +13722,7 @@ class SessionManager extends BasicRecorder {
|
|
|
13722
13722
|
const sr = this.ac.currentSampleRate;
|
|
13723
13723
|
const chFl = sr * RecordingService.DEFAULT_CHUNKED_DOWNLOAD_SECONDS;
|
|
13724
13724
|
//console.debug("stopped(): rfID: "+this._recordingFile?.recordingFileId+", net ab url: " + burl+", frames: "+this.ac.framesRecorded+", sample rate: "+sr);
|
|
13725
|
-
const netAb = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID,
|
|
13725
|
+
const netAb = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID, chFl);
|
|
13726
13726
|
as = netAb;
|
|
13727
13727
|
if (this.uploadSet) {
|
|
13728
13728
|
this.uploadSet.onDone = (uploadSet) => {
|
|
@@ -16925,7 +16925,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
16925
16925
|
const sr = this.ac.currentSampleRate;
|
|
16926
16926
|
const chFl = sr * RecordingService.DEFAULT_CHUNKED_DOWNLOAD_SECONDS;
|
|
16927
16927
|
//console.debug("stopped(): rfID: "+this._recordingFile?.recordingFileId+", net ab url: " + burl+", frames: "+this.ac.framesRecorded+", sample rate: "+sr);
|
|
16928
|
-
let netAs = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID,
|
|
16928
|
+
let netAs = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID, chFl);
|
|
16929
16929
|
as = netAs;
|
|
16930
16930
|
if (this.uploadSet) {
|
|
16931
16931
|
this.uploadSet.onDone = (uploadSet) => {
|
|
@@ -16972,7 +16972,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
16972
16972
|
const sr = this.ac.currentSampleRate;
|
|
16973
16973
|
const chFl = sr * RecordingService.DEFAULT_CHUNKED_DOWNLOAD_SECONDS;
|
|
16974
16974
|
//console.debug("stopped(): rfID: "+this._recordingFile?.recordingFileId+", net ab url: " + burl+", frames: "+this.ac.framesRecorded+", sample rate: "+sr);
|
|
16975
|
-
let netAs = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID,
|
|
16975
|
+
let netAs = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID, chFl);
|
|
16976
16976
|
as = netAs;
|
|
16977
16977
|
if (this.uploadSet) {
|
|
16978
16978
|
this.uploadSet.onDone = (uploadSet) => {
|
|
@@ -17437,7 +17437,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
17437
17437
|
}]
|
|
17438
17438
|
}] });
|
|
17439
17439
|
|
|
17440
|
-
const VERSION = '3.3.
|
|
17440
|
+
const VERSION = '3.3.1';
|
|
17441
17441
|
|
|
17442
17442
|
/*
|
|
17443
17443
|
* Public API Surface of speechrecorderng
|