@eka-care/ekascribe-ts-sdk 1.5.4 → 1.5.5
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.
|
@@ -344,7 +344,7 @@ class VadWebClient {
|
|
|
344
344
|
*/
|
|
345
345
|
resetVadWebInstance() {
|
|
346
346
|
// First, stop any ongoing operations
|
|
347
|
-
if (this.micVad) {
|
|
347
|
+
if (this.micVad && typeof this.micVad.pause === 'function') {
|
|
348
348
|
this.micVad.pause(); // Stop recording first
|
|
349
349
|
}
|
|
350
350
|
// Properly destroy MicVAD instance
|