Sha256: b6bd38ddebd51f45c744a5d2c756cefda2fee70448ba140518573820e93e7f0b

Contents?: true

Size: 607 Bytes

Versions: 15

Compression:

Stored size: 607 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=#{encode_64}"
      end

      private

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
evostream-event-2.0.0.pre.816370746 lib/evostream/event/commands/create/dash.rb
evostream-event-2.0.0.pre.809444619 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.3 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.3.pre.95 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.3.pre.93 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.3.pre.91 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.3.pre.83 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.2 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.2.pre.75 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.2.pre.74 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.1 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.1.pre.72 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.0 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.0.pre.69 lib/evostream/event/commands/create/dash.rb
evostream-event-1.0.0.pre.65 lib/evostream/event/commands/create/dash.rb