You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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.

Instance Attribute Summary collapse

Instance Attribute Details

#codecString

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

Returns:

  • (String)

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

#duration_millisInteger

The duration of the audio stream in milliseconds.

Returns:

  • (Integer)

    The duration of the audio stream in milliseconds.

#number_of_channelsInteger

The number of audio channels in the segment.

Returns:

  • (Integer)

    The number of audio channels in the segment.

#sample_rateInteger

The sample rate for the audio stream.

Returns:

  • (Integer)

    The sample rate for the audio stream.