AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to Amazon Transcribe and the transcription results are streamed to your application. Use this operation for Call Analytics transcriptions.
The following parameters are required:
language-code or identify-language
media-encoding
sample-rate
For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.
This is an asynchronous operation using the standard naming convention for .NET 4.7.2 or higher.
Namespace: Amazon.TranscribeStreaming
Assembly: AWSSDK.TranscribeStreaming.dll
Version: 3.x.y.z
public virtual Task<StartCallAnalyticsStreamTranscriptionResponse> StartCallAnalyticsStreamTranscriptionAsync( StartCallAnalyticsStreamTranscriptionRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the StartCallAnalyticsStreamTranscription service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
| Exception | Condition |
|---|---|
| BadRequestException | One or more arguments to the StartStreamTranscription, StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription operation was not valid. For example, MediaEncoding or LanguageCode used unsupported values. Check the specified parameters and try your request again. |
| ConflictException | A new stream started with the same session ID. The current stream has been terminated. |
| InternalFailureException | A problem occurred while processing the audio. Amazon Transcribe terminated processing. |
| LimitExceededException | Your client has exceeded one of the Amazon Transcribe limits. This is typically the audio length limit. Break your audio stream into smaller chunks and try your request again. |
| ServiceUnavailableException | The service is currently unavailable. Try your request later. |
.NET:
Supported in: 8.0 and newer