@eka-care/ekascribe-ts-sdk 1.5.33 → 1.5.35
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.
|
@@ -244,6 +244,7 @@ class VadWebClient {
|
|
|
244
244
|
preSpeechPadFrames: this.speech_pad_frames,
|
|
245
245
|
onFrameProcessed: (prob, frames) => {
|
|
246
246
|
if (vadFrameProcessedCallback) {
|
|
247
|
+
console.log(prob, frames, 'prob and frames in vad web');
|
|
247
248
|
vadFrameProcessedCallback({ probabilities: prob, frame: frames });
|
|
248
249
|
}
|
|
249
250
|
audioFileManager?.incrementTotalRawSamples(frames);
|
|
@@ -24,8 +24,9 @@ export default async function fetchWrapper(url, options = {}, timeoutMs = API_TI
|
|
|
24
24
|
signal: controller.signal,
|
|
25
25
|
credentials: 'include',
|
|
26
26
|
});
|
|
27
|
+
console.log(response, 'response.ok in fetch wrapper');
|
|
27
28
|
if (!response.ok) {
|
|
28
|
-
console.log(response, 'response in fetch wrapper');
|
|
29
|
+
console.log(response, '!response.ok in fetch wrapper');
|
|
29
30
|
if (onEventCallback) {
|
|
30
31
|
onEventCallback({
|
|
31
32
|
callback_type: CALLBACK_TYPE.AUTHENTICATION_STATUS,
|