Sha256: 53541647879dbca42a1bb5f406351ad2d18d87f63be571664934ec47ce7f6d23

Contents?: true

Size: 751 Bytes

Versions: 6

Compression:

Stored size: 751 Bytes

Contents

module Bitmovin::Encoding::Manifests
  class VideoAdaptationSet < 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/video")
      self.class.init(path)
      super(hash)
      @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

    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/video_adaptation_set.rb
bitmovin-ruby-0.4.0 lib/bitmovin/encoding/manifests/video_adaptation_set.rb
bitmovin-ruby-0.3.0 lib/bitmovin/encoding/manifests/video_adaptation_set.rb
bitmovin-ruby-0.2.0 lib/bitmovin/encoding/manifests/video_adaptation_set.rb
bitmovin-ruby-0.1.1 lib/bitmovin/encoding/manifests/video_adaptation_set.rb
bitmovin-ruby-0.1.0 lib/bitmovin/encoding/manifests/video_adaptation_set.rb