Class: Evostream::Commands::CreateHLS

Inherits:
Create show all
Defined in:
lib/evostream/event/commands/create/hls.rb

Overview

Create flux HLS

Constant Summary collapse

MANDATORY =
%w[localStreamNames targetFolder].freeze

Instance Method Summary collapse

Methods inherited from Command

descendants

Constructor Details

#initialize(commands = { local_stream_names: 'null', target_folder: 'null' }) ⇒ CreateHLS

Call default command for create DASH Stream



12
13
14
15
16
# File 'lib/evostream/event/commands/create/hls.rb', line 12

def initialize(commands = {
  local_stream_names: 'null', target_folder: 'null'
})
  super(commands)
end

Instance Method Details

#cmdObject



18
19
20
21
# File 'lib/evostream/event/commands/create/hls.rb', line 18

def cmd
  super
  "createHLSStream?params=#{encode64}"
end