The server-side playlist feature allows Helix Mobile Server to stream a sequence of clips in a single RTSP session. The following configuration variables set general features, as well as define the query string parameters used in the HTTP directives.
For more information: For information about defining playlists using Helix Administrator, see "Server-Side Playlist".
The following syntax, included as a top-level list in the configuration file, sets up the channel switching feature:
<List Name="ServersidePlaylist">
<Var EnableServersidePlaylist="1"/>
<Var SessionIDName="guid"/>
<Var HPLReqID="hpl"/>
<Var Seek="seek"/>
<Var HPLReference="plref"/>
<Var Time="time"/>
<Var AllowMDP="mdp"/>
<Var MaxBufferTime="2000"/>
<Var PreviousSeekTimeout="10000"/>
<Var AllowInbandforNonskippablePL="0"/>
</List>
Note: Only the EnableServersidePlaylist variable is included in the default configuration file. You can add the other variables if you wish to modify playlist management features.
Playlist management uses a second, top-level list to enable Web portals to upload playlists to Helix Mobile Server:
<List Name="FileSystemControl">
<Var EnableFileCreation="1"/>
<Var EnableFileDeletion="1"/>
<Var AllowFileCreationRealm="machine_name.PlaylistManRealm"/>
<Var AllowFileDeletionRealm="machine_name.PlaylistManRealm"/>
</List>
|
parent: |
none |
|
registry: |
config.ServersidePlaylist |
|
function: |
Contains variables used for playlist management. |
|
variables: |
AllowInbandforNonskippablePL , AllowMDP , EnableServersidePlaylist, MaxBufferTime , HPLReference, HPLReqID, PreviousSeekTimeout, Seek, SessionIDName, Time |
|
parent: |
none |
|
registry: |
config.FileSystemControl |
|
function: |
Allows external processes to upload playlists. |
|
variables: |
AllowFileCreationRealm, AllowFileDeletionRealm, EnableFileCreation, EnableFileDeletion, |
|
list: |
|
|
syntax: |
<Var AllowInbandforNonskippablePL="Boolean"/> |
|
value: |
0—disallow RTSP seeking if playlist has a non-skippable clip |
|
default: |
0 |
|
example: |
<Var AllowInbandforNonskippablePL="0"/> |
This variable affects RTSP seeking in internally controlled playlists that have at least one unskippable clip. By default, seeking is disabled, turning these playlists into non-controlled (live appearing) playlists. Enabling this variable allows RTSP seeking through these playlists.
Warning: Results vary for how media players seek through an internally controlled playlist that contains a non-skippable clip. If you enable this variable, test RTSP seeking with the media players used by your intended audience.
Note: This variable has no effect on externally controlled playlists in which all seeking and skipping is managed by HTTP directives issued outside of the RTSP stream.
|
list: |
|
|
syntax: |
<Var AllowMDP="string"/> |
|
value: |
any user-defined string containing no spaces |
|
default: |
mdp |
|
example: |
<Var AllowMDP="mdp"/> |
This variable defines the name of the query string parameter that specifies the use of rate control. If rate control is not used, Helix Mobile Server streams the playlist at a single rate.
Note: This query string parameter is used only in the media player's RTSP request for the initial playlist session. Once rate control is turned on or off, the setting stays in effect for the entire playlist session.
In a request URL, this parameter uses one of the following values:
|
0 |
Rate control disabled. |
|
1 |
Rate control enabled. This is the default. |
For example:
rtsp://URL?...other query string parameters...&mdp=0...
|
list: |
|
|
syntax: |
<Var EnableServersidePlaylist="Boolean"/> |
|
value: |
0—playlist control connections disabled |
|
default: |
0 |
|
example: |
<Var EnableServersidePlaylist="1"/> |
This variable enables or disables control connections for playlists. Setting its value to 0 prevents Helix Mobile Server from honoring HTTP requests to skip to different parts of the playlist. However, it does not prevent users from requesting and receiving playlist content.
|
list: |
|
|
syntax: |
<Var MaxBufferTime="milliseconds"/> |
|
value: |
numeric value indicating milliseconds |
|
default: |
2000 |
|
example: |
<Var MaxBufferTime="3000"/> |
This variable overrides the rate control MaxAdvance value. It controls the maximum depth of media time that Helix Mobile Server allows to build up in the media player's buffer.
Note: This variable value is used only if the AllowMDP query string parameter allows MDP for the session.
|
list: |
|
|
syntax: |
<Var HPLReference="string"/> |
|
value: |
any user-defined string containing no spaces |
|
default: |
plref |
|
example: |
<Var HPLReference="plref"/> |
This variable defines the name of the query string parameter that provides a chapter ID defined in the playlist. Helix Mobile Server uses this ID to jump to a new position in the playlist.
In the query string, this parameter takes as its value the case-sensitive ID assigned to a playlist chapter. For example:
http://URL?...other query string parameters...&plref=chapter_4...
|
list: |
|
|
syntax: |
<Var HPLReqID="string"/> |
|
value: |
any user-defined string containing no spaces |
|
default: |
hpl |
|
example: |
<Var HPLReqID="hpl"/> |
This variable defines the name of the query string parameter that indicates if the RTSP session is a playlist session.
To identify the RTSP stream as a playlist session session, the specified parameter name and a value of 1 must be present in the query string of the HTTP URL. For example:
http://URL?...other query string parameters...&hpl=1...
|
list: |
|
|
syntax: |
<Var PreviousSeekTimeout="milliseconds"/> |
|
value: |
numeric value indicating milliseconds |
|
default: |
10000 |
|
example: |
<Var MaxBufferTime="15000"/> |
This variable indicates the point in the timeline below which a seek=prev directive jumps to the previous clip. If the timeline is over this value, the directive restarts the current clip.
With the default value of 10 seconds, the following occurs:
Current clip timeline < 10 seconds = skip to the previous clip
Current clip timeline > 10 seconds = skip to the start of the current clip
|
list: |
|
|
syntax: |
<Var Seek="string"/> |
|
value: |
any user-defined string containing no spaces |
|
default: |
seek |
|
example: |
<Var Seek="seek"/> |
This variable defines the name of the query string parameter that indicates a chapter seek action within the playlist.
The query parameter and one of the following values are inclued in HTTP skip requests:
|
first |
Skip to the first chapter in the playlist. |
|
next |
Skip to the next chapter or defined skip-point in the playlist. |
|
prev |
Skip to the previous chapter or the beginning of the current chapter. |
For example:
http://URL?...other query string parameters...&seek=next...
|
list: |
|
|
syntax: |
<Var SessionIDName="string"/> |
|
value: |
any user-defined string containing no spaces |
|
default: |
guid |
|
example: |
<Var SessionIDName="guid"/> |
This variable defines the name of the query string parameter that passes the session ID to the playlist controller HTTP port.
All requests to modify controlled playlist sessions must include the session ID value. For example:
http://URL?...other query string parameters...&guid=a5230cgj321...
|
list: |
|
|
syntax: |
<Var Time="string"/> |
|
value: |
any user-defined string containing no spaces |
|
default: |
time |
|
example: |
<Var Time="time"/> |
This variable defines the name of the query string parameter that provides a timing offset when Helix Mobile Server jumps to a new position in the playlist.
In the query string, this parameter takes a timing value in milliseconds. For example:
http://URL?...other query string parameters...&time=32400...
|
list: |
|
|
syntax: |
<Var AllowFileCreationRealm="machine_name.realm"/> |
|
value: |
machine name and an authentication realm separated by a period |
|
default: |
none |
|
example: |
<Var AllowFileCreationRealm="CORP321.PlaylistManRealm"/> |
This variable defines the authentication realm used to validate HTTP requests by external processes to add a file to a Helix Mobile Server mount point. These requests are directed toward the port defined by the FileSystemControlPort variable.
Note: The realm must be defined within the authentication system. The realm should not be used for any other purpose, such as to authenticate user requests for content.
For more information: See "Authentication Realm Configuration".
|
list: |
|
|
syntax: |
<Var AllowFileDeletionRealm="machine_name.realm"/> |
|
value: |
machine name and an authentication realm separated by a period |
|
default: |
none |
|
example: |
<Var AllowFileDeletionRealm="CORP321.PlaylistManRealm"/> |
This variable defines the authentication realm used to validate HTTP requests by external processes to delete a file from a Helix Mobile Server mount point. These requests are directed toward the port defined by the FileSystemControlPort variable.
Note: The realm must be defined within the authentication system. The realm should not be used for any other purpose, such as to authenticate user requests for content.
For more information: See "Authentication Realm Configuration".
|
list: |
|
|
syntax: |
<Var EnableFileCreation="Boolean"/> |
|
value: |
0—global file creation ability disabled |
|
default: |
1 |
|
example: |
<Var EnableFileCreation="1"/> |
This variable globally enables or disables the ability of external processes to write files to Helix Mobile Server mount points. File creation requests are HTTP commands directed toward the port defined by the FileSystemControlPort variable.
Tip: Individual mount points must also have file creation privileges enabled by the AllowFileCreation variable.
|
list: |
|
|
syntax: |
<Var EnableFileDeletion="Boolean"/> |
|
value: |
0—global file deletion ability disabled |
|
default: |
1 |
|
example: |
<Var EnableFileDeletion="1"/> |
This variable globally enables or disables the ability of external processes to delete files from Helix Mobile Server mount points.
Tip: Individual mount points must also have file deletion privileges enabled by the AllowFileDeletion variable.
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com
