Sha256: b0863f42d66c70f79f37d20de1a37429aaf8dcfa961824998687d8815497b8e9
Contents?: true
Size: 734 Bytes
Versions: 6
Compression:
Stored size: 734 Bytes
Contents
module Bitmovin::Encoding::Manifests class Period < Bitmovin::Resource include Bitmovin::ChildCollection def initialize(manifest_id, hash = {}) self.class.init(File.join("/v1/encoding/manifests/dash/", manifest_id, "periods")) @manifest_id = manifest_id super(hash) @video_adaptationsets = nil @audio_adaptationsets = nil end attr_accessor :manifest_id, :duration, :start child_collection(:video_adaptationsets, "/v1/encoding/manifests/dash/%s/periods/%s/adaptationsets/video", [:manifest_id, :id], VideoAdaptationSet) child_collection(:audio_adaptationsets, "/v1/encoding/manifests/dash/%s/periods/%s/adaptationsets/audio", [:manifest_id, :id], AudioAdaptationSet) end end
Version data entries
6 entries across 6 versions & 1 rubygems