@eka-care/ekascribe-ts-sdk 1.5.2 → 1.5.3
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.
|
@@ -333,7 +333,10 @@ class VadWebClient {
|
|
|
333
333
|
* End VAD
|
|
334
334
|
*/
|
|
335
335
|
destroyVad() {
|
|
336
|
-
|
|
336
|
+
// Properly destroy MicVAD instance
|
|
337
|
+
if (this.micVad && typeof this.micVad.destroy === 'function') {
|
|
338
|
+
this.micVad.destroy();
|
|
339
|
+
}
|
|
337
340
|
this.recording_started = false;
|
|
338
341
|
}
|
|
339
342
|
/**
|