New API Documentation - Developer Preview Available
We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Class StartCallAnalyticsStreamTranscriptionCommandProtected
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.
One or more arguments to the StartStreamTranscription,
StartMedicalStreamTranscription, or StartCallAnalyticsStreamTranscription
operation was not valid. For example, MediaEncoding or LanguageCode
used not valid values. Check the specified parameters and try your request again.
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.
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
media-encoding
sample-rate
For more information on streaming with Amazon Transcribe, see Transcribing streaming audio.
Example
Use a bare-bones client and the command you need to make an API call.
Param
StartCallAnalyticsStreamTranscriptionCommandInput
Returns
StartCallAnalyticsStreamTranscriptionCommandOutput
See
input
shape.response
shape.config
shape.Throws
BadRequestException (client fault)
One or more arguments to the
StartStreamTranscription
,StartMedicalStreamTranscription
, orStartCallAnalyticsStreamTranscription
operation was not valid. For example,MediaEncoding
orLanguageCode
used not valid values. Check the specified parameters and try your request again.Throws
ConflictException (client fault)
A new stream started with the same session ID. The current stream has been terminated.
Throws
InternalFailureException (server fault)
A problem occurred while processing the audio. Amazon Transcribe terminated processing.
Throws
LimitExceededException (client fault)
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.
Throws
ServiceUnavailableException (server fault)
The service is currently unavailable. Try your request later.
Throws
TranscribeStreamingServiceException
Base exception class for all service exceptions from TranscribeStreaming service.