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

Class: Aws::MediaLive::Types::HlsInputSettings

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 HlsInputSettings data as a hash:

{
  bandwidth: 1,
  buffer_segments: 1,
  retries: 1,
  retry_interval: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#bandwidthInteger

When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.

Returns:

  • (Integer)


5274
5275
5276
5277
5278
5279
5280
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5274

class HlsInputSettings < Struct.new(
  :bandwidth,
  :buffer_segments,
  :retries,
  :retry_interval)
  include Aws::Structure
end

#buffer_segmentsInteger

When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.

Returns:

  • (Integer)


5274
5275
5276
5277
5278
5279
5280
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5274

class HlsInputSettings < Struct.new(
  :bandwidth,
  :buffer_segments,
  :retries,
  :retry_interval)
  include Aws::Structure
end

#retriesInteger

The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.

Returns:

  • (Integer)


5274
5275
5276
5277
5278
5279
5280
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5274

class HlsInputSettings < Struct.new(
  :bandwidth,
  :buffer_segments,
  :retries,
  :retry_interval)
  include Aws::Structure
end

#retry_intervalInteger

The number of seconds between retries when an attempt to read a manifest or segment fails.

Returns:

  • (Integer)


5274
5275
5276
5277
5278
5279
5280
# File 'gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb', line 5274

class HlsInputSettings < Struct.new(
  :bandwidth,
  :buffer_segments,
  :retries,
  :retry_interval)
  include Aws::Structure
end