Reputation: 23
I want to use Azure Cognitive Service Speech Batch Transcription APIs with OneDrive instead of using an Azure blob storage location. Is this possible? Any workarounds that can help me achieve the same? Can I create a stream and pass that instead?
I already have the git hub sample for batch processing working but changing it to a location other than Azure Storage gives an error "The recordings URI contains invalid data."
I am trying to change RecordingsBlobUri in Program.cs in the sample where I want to provide a OneDrive url instead of Azure Blob
// recordings and locale
private const string Locale = "en-US";
private const string RecordingsBlobUri = "<SAS URI pointing to an audio file stored in Azure Blob Storage>";
Upvotes: 0
Views: 242
Reputation: 14609
As indicated in the documentation:
Batch transcription supports Azure Blob storage for reading audio and writing transcriptions to storage.
There is no possibility to use OneDrive to provide the audio file that you want to process.
Upvotes: 1