AudioBlock
¶
Source code in docs_src/capo_bedrock_runtime/types/audio_block.py
error
instance-attribute
¶
error: NotRequired[ErrorBlock]
Error information if the audio block could not be processed or contains invalid data.
format
instance-attribute
¶
format: AudioFormat
The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.
source
instance-attribute
¶
source: AudioSource
The source of the audio data, which can be provided as raw bytes or an S3 location.