Pre-Recorded Audio Transcription
An overview of the Deepgram .NET SDK and Deepgram speech-to-text pre-recorded.
The .NET SDK
implements a PreRecordedClient at the root of the Deepgram
namespace that allows you to request transcripts for pre-recorded audio. To request a transcript for a pre-recorded particular audio file, you’ll use the TranscribeUrl
or TranscribeFile
methods.
Installing the SDK
Transcription Sources
Two types of sources can be provided for transcription:
UrlSource
Provides a URL to the file to transcribe.
StreamSource
Provide a stream containing the file to transcribe.
HTTP Client Timeout
For larger files, you might need to increase the default HTTP Timeout setting set to 30 seconds by default.
For TranscribeUrl
, that would look like:
For TranscribeFile
, that would look like:
Increasing the Timeout for Processing Larger Files
For larger files, you might need to increase the default HTTP Timeout setting, which is 300 seconds (or 5 mins).