support mod_playht_tts (#711)

* support mod_playht_tts

* update speech utils version
This commit is contained in:
Hoan Luu Huu
2024-04-08 21:21:54 +07:00
committed by GitHub
parent 9b722ae36d
commit 4a52be9171
4 changed files with 21 additions and 8 deletions

View File

@@ -855,6 +855,13 @@ class CallSession extends Emitter {
model_id: credential.model_id,
options: credential.options
};
} else if ('playht' === vendor) {
return {
api_key: credential.api_key,
user_id: credential.user_id,
voice_engine: credential.voice_engine,
options: credential.options
};
} else if ('assemblyai' === vendor) {
return {
speech_credential_sid: credential.speech_credential_sid,