From 3a7cc27d0a432abef266f89e1a8700e6bb9fea52 Mon Sep 17 00:00:00 2001 From: rammohan-y <37395033+rammohan-y@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:08:33 +0530 Subject: [PATCH] feat/891: getting the options from customOptions in case of custom stt (#892) --- lib/utils/transcription-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/transcription-utils.js b/lib/utils/transcription-utils.js index 2211bcf6..d50d3bc4 100644 --- a/lib/utils/transcription-utils.js +++ b/lib/utils/transcription-utils.js @@ -856,7 +856,7 @@ module.exports = (logger) => { {VERBIO_SPEECH_INCOMPLETE_TIMEOUT: verbioOptions.speech_incomplete_timeout}), }; } else if (vendor.startsWith('custom:')) { - let {options = {}} = rOpts; + let {options = {}} = rOpts.customOptions || {}; const {sampleRate} = rOpts.customOptions || {}; const {auth_token, custom_stt_url} = sttCredentials; options = {