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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rekognition/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)


87
88
89
90
91
92
93
94
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 87

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)


87
88
89
90
91
92
93
94
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 87

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)


87
88
89
90
91
92
93
94
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 87

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)


87
88
89
90
91
92
93
94
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 87

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