Sha256: a1417bee028e349f9e8dc598b0e1306583d561b36aa7d9a240b5b73d41f59b5b

Contents?: true

Size: 643 Bytes

Versions: 2

Compression:

Stored size: 643 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
      self.class.init(File.join("/v1/encoding/manifests/hls/", manifest_id, "streams"))
      super(hsh)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bitmovin-ruby-0.5.0 lib/bitmovin/encoding/manifests/hls_variant_stream.rb
bitmovin-ruby-0.4.0 lib/bitmovin/encoding/manifests/hls_variant_stream.rb