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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb

Overview

Note:

When making an API call, you may pass AudioOnlyHlsSettings data as a 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

Instance Attribute Summary collapse

Instance Attribute Details

#audio_group_idString

Specifies the group to which the audio Rendition belongs.

Returns:

  • (String)


786
787
788
789
790
791
792
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 786

class AudioOnlyHlsSettings < Struct.new(
  :audio_group_id,
  :audio_only_image,
  :audio_track_type,
  :segment_type)
  include Aws::Structure
end

#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.



786
787
788
789
790
791
792
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 786

class AudioOnlyHlsSettings < Struct.new(
  :audio_group_id,
  :audio_only_image,
  :audio_track_type,
  :segment_type)
  include Aws::Structure
end

#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

Returns:

  • (String)


786
787
788
789
790
791
792
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 786

class AudioOnlyHlsSettings < Struct.new(
  :audio_group_id,
  :audio_only_image,
  :audio_track_type,
  :segment_type)
  include Aws::Structure
end

#segment_typeString

Specifies the segment type.

Returns:

  • (String)


786
787
788
789
790
791
792
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 786

class AudioOnlyHlsSettings < Struct.new(
  :audio_group_id,
  :audio_only_image,
  :audio_track_type,
  :segment_type)
  include Aws::Structure
end