question

miguelsances-3819 avatar image
0 Votes"
miguelsances-3819 asked romungi-MSFT commented

Text to Speech does not play audio from Azure AppService

The application code runs correctly and without any errors. Even so, when executing the application from Azure AppService, the Text To Speech of Microsoft.CognitiveServices.Speech is not heard, however, when executing the program locally from Visual Studio, everything works and is heard perfectly.

What can this error be due to? I realised it could be a problem with the websockets, and although I activated the Web Socket option in the AppService configuration it still doesn't work.

azure-speech
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@miguelsances-3819 Have you noticed any specific error that can be shared? Is this a bot that is voice enabled and deployed to an app service or a web app deployed to app service?
Setting the web socket option is the most obvious reason for failure but for example, the error could be related to the underlying app service permissions platform like this issue raised by one user. It would be great if you could add details of an error or the sample you are following to run and check if this can replicated. Thanks!!


0 Votes 0 ·

0 Answers