Sha256: 76c7561ed4f7d5addd0db2ad74ae8cb1485045bd160b1cec6c9056f89542c701

Contents?: true

Size: 919 Bytes

Versions: 1

Compression:

Stored size: 919 Bytes

Contents

module Bitmovin::Encoding::Manifests
  class HlsAudioMedia < Bitmovin::Resource
    attr_accessor :manifest_id
    attr_accessor :group_id
    attr_accessor :language
    attr_accessor :assoc_language
    attr_accessor :name
    attr_accessor :is_default
    attr_accessor :autoselect
    attr_accessor :characteristics
    attr_accessor :segment_path
    attr_accessor :encoding_id
    attr_accessor :stream_id
    attr_accessor :muxing_id
    attr_accessor :drm_id
    attr_accessor :start_segment_number
    attr_accessor :end_segment_number
    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

    def ignore_fields
      return [:@manifest_id, :@id]
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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