Helix Mobile Server can broadcast RTP-based media formats from a standards-based encoder that can generate an SDP file. Helix Mobile Server then pulls the broadcast stream from the encoder when the first media player requests the live event.
For more information: For information about defining RTP-based broadcasts using Helix Administrator, see "QuickTime and RTP Encoding".
The following is an example of the configuration file section for defining unicasts for RTP-based formats. This information is contained within the FSMount section:
<List Name="RTP Encoders">
<Var ShortName="pn-qtencoder"/>
<Var MountPoint="/rtpencoder/"/>
<Var BaseMountPoint="/rtpencodersdp/"/>
<Var ConnectionTimeout="10"/>
<Var RTPBYETimeout="10"/>
<Var EmulateEncoderModel="0"/>
<Var DirectoryScanInterval="5"/>
</List>
|
parent: |
|
|
registry: |
config.FSMount.RTP Encoders |
|
function: |
Defines the variables for RTP-based live broadcasts. |
|
variables: |
BaseMountPoint, ConnectionTimeout, DirectoryScanInterval, EmulateEncoderModel, MountPoint, RTPBYETimeout, ShortName, |
|
list: |
|
|
syntax: |
<Var BaseMountPoint="string"/> |
|
value: |
mount point where SDP file is located |
|
default: |
/rtpencodersdp/ |
|
example: |
<Var BaseMountPoint="/rtpencodersdp/"/> |
This variable defines a mount point or directory name that corresponds to the directory on Helix Mobile Server where the encoder places the SDP file. The default value corresponds to an rtpencodersdp subdirectory under the main Content directory.
Tip: If you use a different subdirectory or mount point, ensure that the specified directory exists before you restart Helix Mobile Server.
|
list: |
|
|
syntax: |
<Var ConnectionTimeout="integer"/> |
|
value: |
time in seconds to wait for the encoder to respond |
|
default: |
10 |
|
example: |
<Var ConnectionTimeout="15"/> |
The ConnectionTimeout variable defines the time in seconds that Helix Mobile Server waits for the encoder to respond with a stream when the first media player requests the broadcast. If the timeout value expires before the encoder responds, Helix Mobile Server terminates the broadcast.
|
list: |
|
|
syntax: |
<Var DirectoryScanInterval="integer"/> |
|
value: |
the frequency in seconds that the SDP directory is scanned |
|
default: |
5 |
|
example: |
<Var DirectoryScanInterval="10"/> |
This variable defines the frequency that Helix Mobile Server scans the SDP directory. It functions only if EmulateEncoderModel is set to 1.
|
list: |
|
|
syntax: |
<Var EmulateEncoderModel="Boolean"/> |
|
value: |
0—pull the stream when the first client requests the broadcast |
|
default: |
0 |
|
example: |
<Var EmulateEncoderModel="1"/> |
By default, Helix Mobile Server waits for the first media player to request a live broadcast before it pulls the broadcast stream from the encoder. However, Helix Mobile Server can also scan the SDP file directory at regular intervals, connecting to the encoder and readying the broadcast when it finds a new SDP file.
|
list: |
|
|
syntax: |
<Var MountPoint="string"/> |
|
value: |
mount point used for the broadcast stream |
|
default: |
/rtpencoder/ |
|
example: |
<Var MountPoint="/rtpencoder/"/> |
The mount point indicates the file system that handles the request. It is included in URLs to the broadcast stream.
Note: You can define only one RTP-based broadcast mount point on each Helix Mobile Server, but you can deliver multiple broadcasts simultaneously through this single mount point.
Warning: The mount point name cannot contain spaces or any of the following special characters: =!@#$%^&*()[]{};:"'<>,?|~\
|
list: |
|
|
syntax: |
<Var RTPBYETimeout="integer"/> |
|
value: |
time in seconds to wait for the encoder to respond |
|
default: |
10 (do not set lower) |
|
example: |
<Var RTPBYETimeout="15"/> |
This variable defines the time in seconds that Helix Mobile Server waits for the encoder to respond if it has stopped sending data but has not indicated that the broadcast has stopped. If the timeout value expires before the encoder responds, Helix Mobile Server terminates the broadcast.
|
list: |
|
|
syntax: |
<Var ShortName="name"/> |
|
value: |
encoded short name of the encoder plug-in |
|
default: |
pn-qtencoder |
|
example: |
<Var ShortName="pn-qtencoder"/> |
The short name identifies the live encoder plug-in that handles the broadcast stream. Under normal conditions, you should not change this variable.
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com
