Sha256: 0a82bf987859e4be163a9c910e7fc5f8e9a0e6d556c1cda2ee8ca6c95220d71a

Contents?: true

Size: 737 Bytes

Versions: 5

Compression:

Stored size: 737 Bytes

Contents

module Bitmovin::Encoding::Manifests
  class AudioAdaptationSet < Bitmovin::Resource
    include Bitmovin::ChildCollection
    def initialize(manifest_id, period_id, hash = {})
      init_instance(File.join("/v1/encoding/manifests/dash/", manifest_id, "periods", period_id, "adaptationsets/audio"))
      @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

5 entries across 5 versions & 1 rubygems

Version Path
bitmovin-ruby-0.9.1 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.9.0 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.8.1 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.8.0 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb
bitmovin-ruby-0.7.0 lib/bitmovin/encoding/manifests/audio_adaptation_set.rb