enable caching from azure tts streaming

This commit is contained in:
Dave Horton
2024-04-03 13:17:36 -04:00
parent fbed59e5de
commit f08fedb8ca
+1
View File
@@ -412,6 +412,7 @@ const synthMicrosoft = async(logger, {
params += `,language=${language}`;
params += ',vendor=microsoft';
params += `,voice=${voice}`;
params += ',write_cache_file=1';
if (region) params += `,region=${region}`;
if (custom_tts_endpoint) params += `,endpointId=${custom_tts_endpoint}`;
if (process.env.JAMBONES_HTTP_PROXY_IP) params += `,http_proxy_ip=${process.env.JAMBONES_HTTP_PROXY_IP}`;