Sha256: 604934cb81a6c71e24872e7bb570640795e9972f5e513bf550df9a1171f335c6

Contents?: true

Size: 606 Bytes

Versions: 12

Compression:

Stored size: 606 Bytes

Contents

# frozen_string_literal: true

module Evostream
  module Commands
    # Create flux DASH
    class CreateDASH < Create
      MANDATORY = %w[localStreamNames targetFolder].freeze

      # 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=#{encode64}"
      end

      private

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
evostream-event-2.0.3 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.3.pre.1265906291 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.3.pre.1265756691 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.3.pre.1265752332 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.2 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.2.pre.994185738 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.0.pre.994170151 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.0.pre.994165179 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.0.pre.994159616 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.0.pre.856454391 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.0.pre.856447460 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.0.pre.856441003 lib/evostream/event/commands/create/dash.rb