class Evostream::Commands::Create
Abstract class for create element
Constants
- MANDATORY
Attributes
Public Class Methods
Evostream::Commands::Command::new
# File lib/evostream/event/commands/create.rb, line 10 def initialize(commands = {}) super(commands) end
Private Instance Methods
The corresponding bandwidths for each stream listed in localStreamNames. Again, this can be a comma-delimited list
# File lib/evostream/event/commands/create.rb, line 33 def bandwidths(param = 0) "bandwidths=#{param}" end
The length (in seconds) of fragments to be made
# File lib/evostream/event/commands/create.rb, line 56 def chunk_length(param = 10) "chunkLength=#{param}" end
If true, chunking is performed ONLY on IDR. Otherwise, chunking is performed whenever chunk length is achieved
# File lib/evostream/event/commands/create.rb, line 62 def chunk_on_idr(param = 1) "chunkOnIDR=#{param}" end
If true, all manifest and fragment files in the target folder will be removed before DASH creation is started
# File lib/evostream/event/commands/create.rb, line 85 def cleanup_destination(param = 0) "cleanupDestination=#{param}" end
Set this parameter to 1 (default) for a live DASH, otherwise set it to 0 for a VOD
# File lib/evostream/event/commands/create.rb, line 91 def dynamic_profile(param = 1) "dynamicProfile=#{param}" end
The name assigned to the DASH stream or group. If the localStreamNames parameter contains only one entry and groupName is not specified, groupName will have the value of the input stream name
# File lib/evostream/event/commands/create.rb, line 40 def group_name(param) "groupName=#{param}" end
If true, the EMS will attempt to reconnect to the stream source if the connection is severed
# File lib/evostream/event/commands/create.rb, line 68 def keep_alive(param = 1) "keepAlive=#{param}" end
The stream(s) that will be used as the input. This is a comma-delimited list of active stream names (local stream names)
# File lib/evostream/event/commands/create.rb, line 20 def local_stream_names(param = 'null') "localStreamNames=#{param}" end
If true, it will allow overwrite of destination files
# File lib/evostream/event/commands/create.rb, line 73 def overwrite_destination(param = 1) "overwriteDestination=#{param}" end
The number of fragments before the server starts to overwrite the older fragments. Used only when playlistType is 'rolling'. Ignored otherwise
# File lib/evostream/event/commands/create.rb, line 51 def playlist_length(param = 10) "playlistLength=#{param}" end
Either `appending` or `rolling`
# File lib/evostream/event/commands/create.rb, line 45 def playlist_type(param = 'appending') "playlistType=#{param}" end
How many old files are kept besides the ones present in the current version of the playlist. Only applicable for rolling playlists
# File lib/evostream/event/commands/create.rb, line 79 def stale_retention_count(param) "staleRetentionCount=#{param}" end
The folder where all the manifest and fragment files will be stored. This folder must be accessible by the DASH clients. It is usually in the web-root of the server
# File lib/evostream/event/commands/create.rb, line 27 def target_folder(param = 'null') "targetFolder=#{param}" end