Sha256: 4ba7009e830dd15e407a569a5dbbeb6e386e36d62b7213928eddfca625faa5ce

Contents?: true

Size: 547 Bytes

Versions: 4

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

module Evostream
  module Commands
    # Create flux DASH
    class CreateDASH < Create
      # Call default command for create DASH Stream
      def initialize(commands = {
        local_stream_names: 'null', target_folder: 'null'
      })
        super(commands)
      end

      def cmd
        super
        "createDASHStream?params=#{encode_64}"
      end

      private

      # The manifest file name
      def manifest_name(param = 'manifest.mpd')
        "manifestName=#{param}"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
evostream-event-1.0.0.pre.59 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.0.pre.58 lib/evostream/event/commands/create/dash.rb
evostream-event-0.3.2.pre.57 lib/evostream/event/commands/create/dash.rb
evostream-event-0.3.2.pre.56 lib/evostream/event/commands/create/dash.rb