Sha256: 1502a5e562846bf659f047124dfe7c8a4a7d128358b0470341dff2cc049e7f30

Contents?: true

Size: 731 Bytes

Versions: 5

Compression:

Stored size: 731 Bytes

Contents

module Bitmovin::Encoding::Manifests
  class VideoAdaptationSet < 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/video"))
      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

5 entries across 5 versions & 1 rubygems

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