Text to Speech API got a ResultReason.Canceled result.

三轮的 蹬 1 Reputation point

Hi Guys,

I have been using Speech-to-Text API for a while and it worked fine. But recently it just stopped working so I checked the result code and it showed:
result: SpeechSynthesisResult(result_id=293e54cd8473407c93bbea90d182aa85, reason=ResultReason.Canceled, audio_length=0)

I couldn't figure out the exact reason of it so I googled and I find a way to collect more log information of it.

The error message seems to be:
[742986]: 935ms SPX_TRACE_ERROR: apple_codec_adapter.cpp:104 Error decoding audio stream: -50

Does anyone of you know the exact reason of it and how to fix it? Thank you very much.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,486 questions
{count} votes