feat azure fromHost (#416)

* feat azure fromHost

* wip

* wip

* wip
This commit is contained in:
Hoan Luu Huu
2023-08-31 08:04:53 +07:00
committed by GitHub
parent a03baa8461
commit 2ccd33e212
3 changed files with 10 additions and 4 deletions

View File

@@ -46,8 +46,10 @@ const speechMapper = (cred) => {
obj.region = o.region;
obj.use_custom_stt = o.use_custom_stt;
obj.custom_stt_endpoint = o.custom_stt_endpoint;
obj.custom_stt_endpoint_url = o.custom_stt_endpoint_url;
obj.use_custom_tts = o.use_custom_tts;
obj.custom_tts_endpoint = o.custom_tts_endpoint;
obj.custom_tts_endpoint_url = o.custom_tts_endpoint_url;
}
else if ('wellsaid' === obj.vendor) {
const o = JSON.parse(decrypt(credential));