@eka-care/ekascribe-ts-sdk 1.5.38 → 1.5.39
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.
|
@@ -242,10 +242,14 @@ class VadWebClient {
|
|
|
242
242
|
frameSamples: this.frame_size,
|
|
243
243
|
preSpeechPadFrames: this.speech_pad_frames,
|
|
244
244
|
onFrameProcessed: (prob, frames) => {
|
|
245
|
-
console.log(frames, 'frames in vad web');
|
|
246
245
|
// Get callback dynamically to ensure it's always up to date
|
|
247
246
|
const vadFrameProcessedCallback = EkaScribeStore.vadFrameProcessedCallback;
|
|
248
|
-
console.log(
|
|
247
|
+
// console.log(
|
|
248
|
+
// 'VAD callback exists:',
|
|
249
|
+
// !!vadFrameProcessedCallback,
|
|
250
|
+
// 'Recording started:',
|
|
251
|
+
// this.recording_started
|
|
252
|
+
// );
|
|
249
253
|
if (vadFrameProcessedCallback) {
|
|
250
254
|
vadFrameProcessedCallback({ probabilities: prob, frame: frames });
|
|
251
255
|
}
|