The channel switching feature allows a media player to receive a different content source within an existing RTSP stream. This eliminates the need to set up and tear down the RTSP session for each new channel. Channel switching works with on-demand clips, live streams, and simulated-live streams broadcast by SLTA.
For more information: For information about defining channel switching using Helix Administrator, see "Channel Switching".
The following syntax, included as a top-level list in the configuration file, sets up the channel switching feature:
<List Name="ChannelSwitching">
<Var EnableFastChannelSwitching="1"/>
<Var SDPMountPoint="/sdpgen/"/>
<Var SessionIDName="guid"/>
<Var SwitchReqID="hxs"/>
<Var SDP="sdp"/>
<Var Queue="queue"/>
<Var AllowMDP="mdp"/>
</List>
For more information: See also "ChannelControlPort".
|
parent: |
none |
|
registry: |
config.ChannelSwitching |
|
function: |
Contains the variables used with channel switching. |
|
variables: |
AllowMDP, EnableFastChannelSwitching, Queue, SDP, SDPMountPoint, SessionIDName, SwitchReqID |
Note: Only the EnableFastChannelSwitching and SDPMountPoint variables are included in the default configuration file. You can add the other variables if you wish to change the query string parameters used in the HTTP channel switching commands.
|
list: |
|
|
syntax: |
<Var AlowMDP="string"/> |
|
value: |
user-defined string with 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 channel at a single rate. In the query string, the parameter passes one of the following values:
0—rate control disabled. This is the default.
1—rate control enabled.
For example:
http://URL?...other query string parameters...&mdp=1...
|
list: |
|
|
syntax: |
<Var EnableFastChannelSwitching="Boolean"/> |
|
value: |
0—channel switching disabled |
|
default: |
0 |
|
example: |
<Var EnableFastChannelSwitching="1"/> |
|
list: |
|
|
syntax: |
<Var Queue="string"/> |
|
value: |
user-defined string with no spaces |
|
default: |
queue |
|
example: |
<Var Queue="queue"/> |
This variable defines the name of the query string parameter that indicates whether to switch to the requested channel immediately, or wait for the current channel to finish. In the query string, the parameter passes one of the following values:
0—switch immediately. This is the default.
1—switch at end of playback.
For example:
http://URL?...other query string parameters...&queue=1...
|
list: |
|
|
syntax: |
<Var SDP="string"/> |
|
value: |
user-defined string with no spaces |
|
default: |
sdp |
|
example: |
<Var SDP="sdp"/> |
This variable defines the name of the query string parameter that indicates whether Helix Mobile Server should return an SDP file for the channel if the channel switch request fails. In the query string, the parameter passes one of the following values:
0—no new SDP on error.
1—new SDP on error. This is the default.
For example:
http://URL?...other query string parameters...&sdp=0...
|
list: |
|
|
syntax: |
<Var SDPMountPoint="string"/> |
|
value: |
name of the SDPgen mount point enclosed in backslashes |
|
default: |
none |
|
example: |
<Var SDPMountPoint="/sdpgen/"/> |
This variable specifies the URL string used to indicate the SDPgen mount point when a channel is set up.
For more information: For more on SDPgen, refer to "Client Launch Utility Configuration".
|
list: |
|
|
syntax: |
<Var SessionIDName="string"/> |
|
value: |
user-defined string with 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 channel controller in an HTTP URL. For example:
http://URL?...other query string parameters...&guid=a5230cgj321...
|
list: |
|
|
syntax: |
<Var SwitchReqID="string"/> |
|
value: |
user-defined string with no spaces |
|
default: |
hxs |
|
example: |
<Var SwitchReqID="hxs"/> |
This variable defines the name of the query string parameter that indicates if the channel can be switched to a different channel. To enable the stream to be used in a channel-switching 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...&hxs=1...
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com
