Hi, I'm using speech-to-text services C++ SDK for Linux. I've build a test app following the guidelines from here:
It works fine when subscription key is accepted but when there is some issue (e.g. error code 4 about running out of quota) it takes quite a long time (up to 10 seconds) to receive a response and my app freezes. If I move the logic to a separate thread it still causes freezing on the app exit and I receive an error code 6 ("Timeout while waiting for service to stop"). What is worse - sometimes I don't receive any response at all and therefore I need to force terminate my app as it sticks completely.
Is there any ability to reduce this delay? Could you please advise?