Sha256: 0ec7dd78f10a725719e85f550f5247a3547a414c211af22278baf53a5388d118

Contents?: true

Size: 840 Bytes

Versions: 1

Compression:

Stored size: 840 Bytes

Contents

module Bitmovin::Encoding::Manifests
  class HlsAudioMedia < Bitmovin::Resource
    attr_accessor :manifest_id
    attr_accessor :groupId
    attr_accessor :language
    attr_accessor :assocLanguage
    attr_accessor :name
    attr_accessor :isDefault
    attr_accessor :autoselect
    attr_accessor :characteristics
    attr_accessor :segmentPath
    attr_accessor :encodingId
    attr_accessor :streamId
    attr_accessor :muxingId
    attr_accessor :drmId
    attr_accessor :startSegmentNumber
    attr_accessor :endSegmentNumber
    attr_accessor :uri

    def initialize(manifest_id, hash = {})
      hsh = ActiveSupport::HashWithIndifferentAccess.new(underscore_hash(hash))
      @manifest_id = manifest_id
      self.class.init(File.join("/v1/encoding/manifests/hls/", manifest_id, "media/audio"))
      super(hsh)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bitmovin-ruby-0.4.0 lib/bitmovin/encoding/manifests/hls_audio_media.rb