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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.3.
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export const VERSION = '3.3.1';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ByLm1vZHVsZS52ZXJzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvc3BlZWNocmVjb3JkZXJuZy9zcmMvbGliL3Nwci5tb2R1bGUudmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUMsT0FBTyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IFZFUlNJT049JzMuMy4xJyJdfQ==
|
|
@@ -3220,9 +3220,9 @@ class AudioCapture {
|
|
|
3220
3220
|
this._recUUID = UUID.generate();
|
|
3221
3221
|
}
|
|
3222
3222
|
this.persistError = null;
|
|
3223
|
-
console.
|
|
3223
|
+
//console.debug("Audio capture initialize storage for type: "+this._audioStorageType);
|
|
3224
3224
|
if (AudioStorageType.DB_CHUNKED === this._audioStorageType && this._persistentAudioStorageTarget && this._recUUID) {
|
|
3225
|
-
console.debug("Create indexed db audio buffer.");
|
|
3225
|
+
//console.debug("Create indexed db audio buffer.");
|
|
3226
3226
|
this.inddbAudioBuffer = new IndexedDbAudioBuffer(this._persistentAudioStorageTarget, this.channelCount, this.currentSampleRate, AudioCapture.BUFFER_SIZE, 0, this._recUUID);
|
|
3227
3227
|
}
|
|
3228
3228
|
if (!(AudioStorageType.NET_CHUNKED === this._audioStorageType)) {
|
|
@@ -13714,7 +13714,7 @@ class SessionManager extends BasicRecorder {
|
|
|
13714
13714
|
const sr = this.ac.currentSampleRate;
|
|
13715
13715
|
const chFl = sr * RecordingService.DEFAULT_CHUNKED_DOWNLOAD_SECONDS;
|
|
13716
13716
|
//console.debug("stopped(): rfID: "+this._recordingFile?.recordingFileId+", net ab url: " + burl+", frames: "+this.ac.framesRecorded+", sample rate: "+sr);
|
|
13717
|
-
let netAb = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID,
|
|
13717
|
+
let netAb = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID, chFl);
|
|
13718
13718
|
as = netAb;
|
|
13719
13719
|
if (this.uploadSet) {
|
|
13720
13720
|
//let rp=new ReadyProvider();
|
|
@@ -13761,7 +13761,7 @@ class SessionManager extends BasicRecorder {
|
|
|
13761
13761
|
const sr = this.ac.currentSampleRate;
|
|
13762
13762
|
const chFl = sr * RecordingService.DEFAULT_CHUNKED_DOWNLOAD_SECONDS;
|
|
13763
13763
|
//console.debug("stopped(): rfID: "+this._recordingFile?.recordingFileId+", net ab url: " + burl+", frames: "+this.ac.framesRecorded+", sample rate: "+sr);
|
|
13764
|
-
const netAb = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID,
|
|
13764
|
+
const netAb = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID, chFl);
|
|
13765
13765
|
as = netAb;
|
|
13766
13766
|
if (this.uploadSet) {
|
|
13767
13767
|
this.uploadSet.onDone = (uploadSet) => {
|
|
@@ -16977,7 +16977,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
16977
16977
|
const sr = this.ac.currentSampleRate;
|
|
16978
16978
|
const chFl = sr * RecordingService.DEFAULT_CHUNKED_DOWNLOAD_SECONDS;
|
|
16979
16979
|
//console.debug("stopped(): rfID: "+this._recordingFile?.recordingFileId+", net ab url: " + burl+", frames: "+this.ac.framesRecorded+", sample rate: "+sr);
|
|
16980
|
-
let netAs = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID,
|
|
16980
|
+
let netAs = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID, chFl);
|
|
16981
16981
|
as = netAs;
|
|
16982
16982
|
if (this.uploadSet) {
|
|
16983
16983
|
this.uploadSet.onDone = (uploadSet) => {
|
|
@@ -17024,7 +17024,7 @@ class AudioRecorder extends BasicRecorder {
|
|
|
17024
17024
|
const sr = this.ac.currentSampleRate;
|
|
17025
17025
|
const chFl = sr * RecordingService.DEFAULT_CHUNKED_DOWNLOAD_SECONDS;
|
|
17026
17026
|
//console.debug("stopped(): rfID: "+this._recordingFile?.recordingFileId+", net ab url: " + burl+", frames: "+this.ac.framesRecorded+", sample rate: "+sr);
|
|
17027
|
-
let netAs = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID,
|
|
17027
|
+
let netAs = new NetAudioBuffer(this.ac.context, this.recFileService, burl, this.ac.channelCount, sr, chFl, this.ac.framesRecorded, rUUID, chFl);
|
|
17028
17028
|
as = netAs;
|
|
17029
17029
|
if (this.uploadSet) {
|
|
17030
17030
|
this.uploadSet.onDone = (uploadSet) => {
|
|
@@ -17492,7 +17492,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
17492
17492
|
}]
|
|
17493
17493
|
}] });
|
|
17494
17494
|
|
|
17495
|
-
const VERSION = '3.3.
|
|
17495
|
+
const VERSION = '3.3.1';
|
|
17496
17496
|
|
|
17497
17497
|
/*
|
|
17498
17498
|
* Public API Surface of speechrecorderng
|