mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
support mod_google_tts_streaming
This commit is contained in:
@@ -140,6 +140,13 @@ class TtsTask extends Task {
|
|||||||
...(reduceLatency && {RIMELABS_TTS_STREAMING_REDUCE_LATENCY: reduceLatency})
|
...(reduceLatency && {RIMELABS_TTS_STREAMING_REDUCE_LATENCY: reduceLatency})
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
|
case 'google':
|
||||||
|
obj = {
|
||||||
|
GOOGLE_TTS_LANGUAGE_CODE: language,
|
||||||
|
GOOGLE_TTS_VOICE_NAME: voice,
|
||||||
|
GOOGLE_APPLICATION_CREDENTIALS: JSON.stringify(credentials)
|
||||||
|
};
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if (vendor.startsWith('custom:')) {
|
if (vendor.startsWith('custom:')) {
|
||||||
const use_tls = custom_tts_streaming_url.startsWith('wss://');
|
const use_tls = custom_tts_streaming_url.startsWith('wss://');
|
||||||
|
|||||||
Reference in New Issue
Block a user