Sha256: 51036ba019e08ae1a637b78fa07222dd56da06ee02499caf230023d2490a695e

Contents?: true

Size: 757 Bytes

Versions: 6

Compression:

Stored size: 757 Bytes

Contents

module Bitmovin::Encoding::Manifests
  class AudioAdaptationSet < Bitmovin::Resource
    include Bitmovin::ChildCollection
    def initialize(manifest_id, period_id, hash = {})
      path = File.join("/v1/encoding/manifests/dash/", manifest_id, "periods", period_id, "adaptationsets/audio")
      self.class.init(path)
      @manifest_id = manifest_id
      @period_id = period_id
    end

    child_collection(:fmp4_representations, "/v1/encoding/manifests/dash/%s/periods/%s/adaptationsets/%s/representations/fmp4", [:manifest_id, :period_id, :id], Fmp4Representation)

    attr_accessor :manifest_id
    attr_accessor :period_id
    attr_accessor :roles
    attr_accessor :lang

    def ignore_fields
      [:@manifest_id, :@period_id]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bitmovin-ruby-0.5.0 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.4.0 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.3.0 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.2.0 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.1.1 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.1.0 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb