Sha256: a01741b09bbc3e41521dfa6a01927b0ac565baf899a384f88419e10be6bf826b
Contents?: true
Size: 643 Bytes
Versions: 5
Compression:
Stored size: 643 Bytes
Contents
module Bitmovin::Encoding::Manifests class ManifestResource < Bitmovin::Resource def initialize(hash = {}) hsh = ActiveSupport::HashWithIndifferentAccess.new(underscore_hash(hash)) muxing_type = self.class.name.demodulize.gsub(/(.*)Muxing/, '\1').downcase init_instance(File.join("/v1/encoding/manifests/", encoding_id, "muxings", muxing_type)) super(hsh) @outputs = (hsh[:outputs] || []).map do |output| Bitmovin::Encoding::Encodings::StreamOutput.new(encoding_id, @id, output) end @streams = (hsh[:streams] || []).map do |stream| stream[:stream_id] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems