Sha256: 79b725e6237e3b649e614c9d6795ccc60f78b2100bde48cb425f86f8d52f468f

Contents?: true

Size: 641 Bytes

Versions: 5

Compression:

Stored size: 641 Bytes

Contents

module Bitmovin::Encoding::Manifests
  class HlsVariantStream < Bitmovin::Resource
    attr_accessor :id, :manifest_id

    # Required
    attr_accessor :closed_captions, :segment_path, :uri
    attr_accessor :encoding_id, :stream_id, :muxing_id

    attr_accessor :audio, :video, :subtitles
    attr_accessor :drm_id, :start_segment_number, :end_segment_number


    def initialize(manifest_id, hash = {})
      hsh = ActiveSupport::HashWithIndifferentAccess.new(underscore_hash(hash))
      @manifest_id = manifest_id
      init_instance(File.join("/v1/encoding/manifests/hls/", manifest_id, "streams"))
      super(hsh)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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