Sha256: 81648b7882f6e87e45f5218f9dc5c4e5710f3e2dfefc7b48338dbbd57fd8795d
Contents?: true
Size: 688 Bytes
Versions: 5
Compression:
Stored size: 688 Bytes
Contents
module Bitmovin::Encoding::Manifests class HlsVariantStreamList < Bitmovin::Resource attr_accessor :manifest_id def initialize(manifest_id) @manifest_id = manifest_id init_instance(File.join("/v1/encoding/manifests/", manifest_id, "streams")) #super(hsh) end def list(limit = 100, offset = 0) path = File.join("/v1/encoding/manifests/hls", @manifest_id, self.class.resource_path) response = Bitmovin.client.get(path, { limit: limit, offset: offset }) result(response)['items'].map { |item| self.class.klass.new(@manifest_id, item) } end def build(hash = {}) HlsVariantStream.new(@manifest_id, hash) end end end
Version data entries
5 entries across 5 versions & 1 rubygems