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

Veerla, Raju 0 Reputation points
2024-07-25T11:02:37.98+00:00

video to wav

wav to transcript

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.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Microsoft System Center | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.