I have a Blazor server app that utilizes Microsoft Text to Speech (Microsoft.CognitiveServices.Speech) to convert text to speech and play it. While this works perfectly on my local machine, it fails when published, likely due to the app attempting to use the Azure server's sound card.
My question is: How can I play or stream the generated sound directly to the user's browser from the app?
I'm looking for a simple solution :)
Thank you