From 7f1543a0f35f5a5b73195af3bf19ae3910f2ea5e Mon Sep 17 00:00:00 2001 From: Ed Robbins Date: Sun, 30 Nov 2025 11:56:56 -0500 Subject: [PATCH] Add ability to enable/disable Azure audio logging via azureOptions (#1432) --- 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 e2a87078..d060ba11 100644 --- a/lib/utils/transcription-utils.js +++ b/lib/utils/transcription-utils.js @@ -920,7 +920,7 @@ module.exports = (logger) => { ...(rOpts.initialSpeechTimeoutMs > 0 && {AZURE_INITIAL_SPEECH_TIMEOUT_MS: rOpts.initialSpeechTimeoutMs}), ...(rOpts.requestSnr && {AZURE_REQUEST_SNR: 1}), - ...(rOpts.audioLogging && {AZURE_AUDIO_LOGGING: 1}), + ...(azureOptions.audioLogging && {AZURE_AUDIO_LOGGING: 1}), ...{AZURE_USE_OUTPUT_FORMAT_DETAILED: 1}, ...(azureOptions.speechSegmentationSilenceTimeoutMs && {AZURE_SPEECH_SEGMENTATION_SILENCE_TIMEOUT_MS: azureOptions.speechSegmentationSilenceTimeoutMs}),