Class: Aws::TranscribeStreamingService::Types::AudioEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::TranscribeStreamingService::Types::AudioEvent
- Defined in:
- gems/aws-sdk-transcribestreamingservice/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.
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 'gems/aws-sdk-transcribestreamingservice/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 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 57 def event_type @event_type end |