Unable to delete audio wav file after stop_continuous_recognition

Deepti Rajput 0 Reputation points
2023-02-04T07:01:39.33+00:00

Hi,

I am using Azure start/stop_continuous_recognition function for continuous transcription of large wav audio files. After transcription I need to delete files from local storage so that my server is not out of space after transcribing many files. It works fine with wav shorts file for one shot transcription and even with mp3 files with continuous transcription. It is only with wav file with continuous transcription which has left some connection open internally which is causing it error "file is in use" and stopping it to delete.

Any suggestion would be highly appreciated.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,391 questions
{count} votes