cache files for azure tts streaming are r8

This commit is contained in:
Dave Horton
2024-04-03 13:32:32 -04:00
parent bf229d0ab0
commit f546ca998d
+1 -1
View File
@@ -141,7 +141,7 @@ async function synthAudio(client, logger, stats, { account_sid,
let filePath;
if (['nuance', 'nvidia'].includes(vendor) ||
(
process.env.JAMBONES_TTS_TRIM_SILENCE &&
(process.env.JAMBONES_TTS_TRIM_SILENCE || !process.env.JAMBONES_DISABLE_TTS_STREAMING) &&
['microsoft', 'azure'].includes(vendor)
) ||
(