Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::Hls

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-05-01/generated/azure_mgmt_media_services/models/hls.rb

Overview

HTTP Live Streaming (HLS) packing setting for the live output.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#fragments_per_ts_segmentInteger

(HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output.

Returns:

  • (Integer)

    The number of fragments in an HTTP Live Streaming



18
19
20
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/hls.rb', line 18

def fragments_per_ts_segment
  @fragments_per_ts_segment
end

Class Method Details

.mapperObject

Mapper for Hls class as Ruby Hash. This will be used for serialization/deserialization.



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/hls.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Hls',
    type: {
      name: 'Composite',
      class_name: 'Hls',
      model_properties: {
        fragments_per_ts_segment: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fragmentsPerTsSegment',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end