Applications are separate groups of streams that differ in functionality. A single stream must have an unique name within such a group. Storm Streaming server allows you to create multiple applications by modifying its config/preferences.xml file.
Storm Streaming server allows for multiple applications to be created. All of them must be stored within Applications tag.
<Application name="live">
<SecureStream enabled="true">
<password>qwerty</password>
<ingestIP>true</ingestIP>
<timeout>5</timeout>
</SecureStream>
<DVR enabled="true">
<CacheSize>45</CacheSize>
</DVR>
<KeepEmptyStreamsAlive>true</KeepEmptyStreamsAlive>
<VariableFPS>true</VariableFPS>
<KeyFrameCompensation>true</KeyFrameCompensation>
</Application>
Parameter name | Suggested value | Description |
---|---|---|
Application:name | Between 3-16 characters | A name for an application. All names must be unique. |
SecureStream | - | Settings related to SecureStream functionality unique to this application. Please check Secure stream section to learn more about it. |
DVR enabled | false | Whenever DVR option is enabled on this application. DVR functionality allows server to keep some part of a live stream in the memory, thus allowing to view that content by the viewers. |
CacheSize | 0 | Size of the DVR Cache in MB. The general time that can be memorized by the server depends on the average bitrate of the input stream and may vary. |
KeepEmptyStreamsAlive | true | Decides whenever streams with no viewers should be kept alive. |
VariableFPS | auto | Adjusts packetizers for Variable FPS Source and keeps Audio & Video tracks in synchronization. For encoder modes that include B-frames please set to false. Possible values: true, false, auto |
KeyFrameCompensation | auto | Injects old KeyFrames into streams for better HLS support. For encoder modes that include B-frames please set to false. Possible values: true, false, auto |