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

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
}

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)


779
780
781
782
783
784
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 779

class AudioOnlyHlsSettings < Struct.new(
  :audio_group_id,
  :audio_only_image,
  :audio_track_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.



779
780
781
782
783
784
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 779

class AudioOnlyHlsSettings < Struct.new(
  :audio_group_id,
  :audio_only_image,
  :audio_track_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)


779
780
781
782
783
784
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 779

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