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

Veerla, Tirupati 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.
5,107 questions
Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
1,012 questions
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).
904 questions
{count} votes

Your answer

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