changes for azure tts

This commit is contained in:
Dave Horton
2021-11-19 18:23:23 +00:00
parent 7c77bedd15
commit 12c34de15c
5 changed files with 538 additions and 5042 deletions

View File

@@ -257,6 +257,13 @@ class CallSession extends Emitter {
region: process.env.AWS_REGION || credential.aws_region
};
}
else if ('microsoft' === vendor) {
return {
speech_credential_sid: credential.speech_credential_sid,
api_key: credential.api_key,
region: credential.region
};
}
}
else {
writeAlerts({