drachtio / drachtio-freeswitch-modules

A collection of open-sourced freeswitch modules that I use in various drachtio applications
MIT License
174 stars 119 forks source link

Add support for on-prem microsoft tts #126

Closed davehorton closed 1 year ago

davehorton commented 1 year ago

Currently this mod_azure_transcribe only works with the hosted Microsoft speech endpoint; i.e. we connect like this

SpeechConfig::FromSubscription(subscriptionKey, region);

or, if we are connecting to a hosted custom speech model, like this:

SpeechConfig::FromEndpoint(endpoint, subscriptionKey) :     

In either case, we are connecting to service that Azure is hosting. However, Azure also supports on-prem deployments. In that case, we would use:

SpeechConfig::FromHost(host)

Please see this link for details.

xquanluu commented 1 year ago

close as PR mereged