stream_element

stream (1)
kavulix

Element name: stream

The stream element can be used with video items to provide multiple streams with different bitrates for the same video. There is no limit to the number of stream elements that can be used with a video item.


Example

<item type="video">
   <stream url="http://yoursite.com/video1.mp4" bitrate="512" ishd="false" contentid="video1" stickyredirects="false"/>
   <stream url="http://yoursite.com/video2.mp4" bitrate="768" ishd="false" contentid="video2" stickyredirects="false"/>
   <stream url="http://yoursite.com/video3.mp4" bitrate="1024" ishd="true" contentid="video3" stickyredirects="false"/>
</item>

Supported Attributes

Name: url
Type: string
Supported values
any url pointing to a compatible video file

Name: bitrate
Type: integer
Supported values
the bitrate of the video in kbps

Name: ishd
Type: boolean
Supported values
true|false

Name: contentid
Type: string
Supported values
any string of text

Name: stickyredirects
Type: boolean
Supported values
true|false
Notes
Determines whether the http endpoint should be sticky and not subject to change on subsequent requests. This attribute is optional and if omitted the default value of false will be used.


Supported Child Nodes

NONE


MongoDB Logo MongoDB