Class: Aws::TranscribeStreamingService::Types::AudioEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::TranscribeStreamingService::Types::AudioEvent
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-transcribestreamingservice/types.rb
Overview
A wrapper for your audio chunks. Your audio stream consists of one or more audio events, which consist of one or more audio chunks.
For more information, see [Event stream encoding].
[1]: docs.aws.amazon.com/transcribe/latest/dg/event-stream.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#audio_chunk ⇒ String
An audio blob that contains the next part of the audio that you want to transcribe.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
Instance Attribute Details
#audio_chunk ⇒ String
An audio blob that contains the next part of the audio that you want to transcribe. The maximum audio chunk size is 32 KB.
57 58 59 60 61 62 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 57 class AudioEvent < Struct.new( :audio_chunk, :event_type) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ Object
Returns the value of attribute event_type
57 58 59 |
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 57 def event_type @event_type end |