AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::MediaLive::Types::AudioOnlyHlsSettings

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

Overview

Note:

When passing AudioOnlyHlsSettings as input to an Aws::Client method, you can use a vanilla Hash:

{
  audio_group_id: "__string",
  audio_only_image: {
    password_param: "__string",
    uri: "__string", # required
    username: "__string",
  },
  audio_track_type: "ALTERNATE_AUDIO_AUTO_SELECT", # accepts ALTERNATE_AUDIO_AUTO_SELECT, ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT, ALTERNATE_AUDIO_NOT_AUTO_SELECT, AUDIO_ONLY_VARIANT_STREAM
  segment_type: "AAC", # accepts AAC, FMP4
}

Audio Only Hls Settings

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#audio_group_idString

Specifies the group to which the audio Rendition belongs.

Returns:

  • (String)

    Specifies the group to which the audio Rendition belongs.

#audio_only_imageTypes::InputLocation

Optional. Specifies the .jpg or .png image to use as the cover art for an audio-only output. We recommend a low bit-size file because the image increases the output audio bandwidth. The image is attached to the audio as an ID3 tag, frame type APIC, picture type 0x10, as per the \"ID3 tag version 2.4.0 - Native Frames\" standard.

Returns:

#audio_track_typeString

Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO

Possible values:

  • ALTERNATE_AUDIO_AUTO_SELECT
  • ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT
  • ALTERNATE_AUDIO_NOT_AUTO_SELECT
  • AUDIO_ONLY_VARIANT_STREAM

Returns:

  • (String)

    Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios.

#segment_typeString

Specifies the segment type.

Possible values:

  • AAC
  • FMP4

Returns:

  • (String)

    Specifies the segment type.