Issue in Speech-to-Text Integration in Azure Function App: Timeout Issues and Storage Considerations

Veerla, Tirupati Raju 0 Reputation points
2024-07-25T08:26:15.7633333+00:00

I have a code that is working locally, but when I update the same code in an Event Grid Function App, it doesn't work. The function app is not capable of storing and retrieving from local storage. I created a temporary file path and sent it to the speech-to-text service. The process works up to the line "speech_recognizer.recognized.connect(recognised)", but it does not generate the transcript. After some time, I receive a timeout issue, even for a 2 MB video.

Before trying the speech-to-text conversion, I tested uploading the temporary file path (wav file) to Blob Storage, and it worked. This code is included at the end of my script.

What could be causing this issue? I would appreciate any help or insights.video to wav

wav to transcript

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
859 questions
Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
704 questions
{count} votes