Class: Aws::Rekognition::Types::AudioMetadata

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-rekognition/types.rb

Overview

Metadata information about an audio stream. An array of ‘AudioMetadata` objects for the audio streams found in a stored video is returned by GetSegmentDetection.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codecString

The audio codec used to encode or decode the audio stream.

Returns:

  • (String)


149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-rekognition/types.rb', line 149

class AudioMetadata < Struct.new(
  :codec,
  :duration_millis,
  :sample_rate,
  :number_of_channels)
  SENSITIVE = []
  include Aws::Structure
end

#duration_millisInteger

The duration of the audio stream in milliseconds.

Returns:

  • (Integer)


149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-rekognition/types.rb', line 149

class AudioMetadata < Struct.new(
  :codec,
  :duration_millis,
  :sample_rate,
  :number_of_channels)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_channelsInteger

The number of audio channels in the segment.

Returns:

  • (Integer)


149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-rekognition/types.rb', line 149

class AudioMetadata < Struct.new(
  :codec,
  :duration_millis,
  :sample_rate,
  :number_of_channels)
  SENSITIVE = []
  include Aws::Structure
end

#sample_rateInteger

The sample rate for the audio stream.

Returns:

  • (Integer)


149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-rekognition/types.rb', line 149

class AudioMetadata < Struct.new(
  :codec,
  :duration_millis,
  :sample_rate,
  :number_of_channels)
  SENSITIVE = []
  include Aws::Structure
end