Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.63k stars 2.83k forks source link

Due to service inactivity, the client buffer exceeded maximum size. Resetting the buffer, Issue with cognitive-speech #31102

Closed bobir01 closed 1 year ago

bobir01 commented 1 year ago

Thanks for reaching out to us and reporting this issue. I am pasting the response from this issue thread: https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1634 AS-IS.

Could you please follow the below sugesstion ?

the Speech SDK maintains an internal buffer of input audio (to cope with momentary connection issues, for example) and discards processed audio based on results from the service. If the service does not respond (fast enough), eventually you'll get this error as the buffer overflows.

Without any code or Speech SDK log, we can only comment in general:

Originally posted by @navba-MSFT in https://github.com/Azure/azure-sdk-for-python/issues/28333#issuecomment-1383516363

I am using azure-cognitiveservices-speech==1.29.0 python3.10 SDK , initially it was working fine but now even with small files like 12MB size and length of 1 minute it stucks in this error Note I also added pronunciation config to my speech_config but it should be deal

here am attaching my log file my_logs_speechsdk.txt

I created a support ticket on the Azure portal, however no updates at all Therefore I referenced this issue since it's fixed with clear details and solution

xiangyan99 commented 1 year ago

Thanks for the feedback, we’ll investigate asap.

github-actions[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @robch @oscholz.

bobir01 commented 1 year ago

Thanks for the feedback, we’ll investigate asap.

Thank you

glecaros commented 1 year ago

An update to this was posted in https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1989

xiangyan99 commented 1 year ago

Closing the issue and please use https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1989 to track it.