support mod_rimelabs_tts (#716)

* support mod_rimelabs_tts

* update speech utils
This commit is contained in:
Hoan Luu Huu
2024-04-12 18:28:45 +07:00
committed by GitHub
parent ecf3d140d6
commit 9eab81268b
4 changed files with 19 additions and 8 deletions

View File

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