Text to Speech API got a ResultReason.Canceled result.

三轮的 蹬 1 Reputation point
2022-10-30T08:31:24.867+00:00

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.
255401-tts.log

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,555 questions
{count} votes