AudioStream
An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket data frames.
For more information, see Transcribing streaming audio.
Inheritors
Types
Functions
Casts this AudioStream as a AudioEvent and retrieves its aws.sdk.kotlin.services.transcribestreaming.model.AudioEvent value. Throws an exception if the AudioStream is not a AudioEvent.
Casts this AudioStream as a AudioEvent and retrieves its aws.sdk.kotlin.services.transcribestreaming.model.AudioEvent value. Returns null if the AudioStream is not a AudioEvent.
Casts this AudioStream as a ConfigurationEvent and retrieves its aws.sdk.kotlin.services.transcribestreaming.model.ConfigurationEvent value. Throws an exception if the AudioStream is not a ConfigurationEvent.
Casts this AudioStream as a ConfigurationEvent and retrieves its aws.sdk.kotlin.services.transcribestreaming.model.ConfigurationEvent value. Returns null if the AudioStream is not a ConfigurationEvent.