Hello Keerthana S,
Thank you for posting your question in the Microsoft Q&A forum.
Latency issues and empty responses in Speech-to-Text (S2T) using Azure Cognitive Services can be caused by various factors, including service throttling, audio file issues, or configuration problems.
Although you mentioned the network is good, double-check the latency between your application and the Azure Cognitive Services endpoint. Use tools like ping or traceroute to measure latency. If latency is high, consider deploying your application in a region closer to the Azure Cognitive Services endpoint.
Azure Cognitive Services enforces rate limits to prevent abuse. If you exceed these limits, the service may throttle requests, leading to latency or empty responses. Please check and confirm your usage against the quotas and limits, the link you may refer - https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-services-quotas-and-limits
Latency issues and empty responses in Azure Cognitive Services' Speech-to-Text can be caused by audio file issues, network latency, service throttling, or configuration problems. By verifying the audio file format, monitoring network latency, enabling logging, and checking for service outages, you can diagnose and resolve these issues.
If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated.