Class: Aws::TranscribeStreamingService::Types::AudioEvent

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#audio_chunkString

An audio blob that contains the next part of the audio that you want to transcribe. The maximum audio chunk size is 32 KB.

Returns:

  • (String)


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_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



57
58
59
# File 'lib/aws-sdk-transcribestreamingservice/types.rb', line 57

def event_type
  @event_type
end