Sha256: 33d2ac6d2a856e53cbd4bc95d0a9554635d1b81c0b23d3f56fcea65428c49152

Contents?: true

Size: 648 Bytes

Versions: 27

Compression:

Stored size: 648 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
        cmd_hash = command.join
        Evostream.logger "createDASHStream : #{cmd_hash}"
        "createDASHStream?params=#{Base64.urlsafe_encode64(cmd_hash)}"
      end

      private

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

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
evostream-event-0.3.0 lib/evostream/event/commands/create/dash.rb
evostream-event-0.3.0.pre.48 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.7 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.7.pre.44 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.6 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.6.pre.41 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.6.pre.39 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.5 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.5.pre.35 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.5.pre.34 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.4 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.4.pre.31 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.3 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.3.pre.27 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.2 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.2.pre.25 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.1 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.1.pre.23 lib/evostream/event/commands/create/dash.rb
evostream-event-0.2.0.pre.22 lib/evostream/event/commands/create/dash.rb
evostream-event-0.1.2.pre.20 lib/evostream/event/commands/create/dash.rb