AudioStream

sealed class 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

Link copied to clipboard
data class AudioEvent(val value: AudioEvent) : AudioStream

A blob of audio from your application. Your audio stream consists of one or more audio events.

Link copied to clipboard

Contains audio channel definitions and post-call analytics settings.

Link copied to clipboard

Functions

Link copied to clipboard

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.

Link copied to clipboard