The MPEG-2 transport stream section defines global values for media segmentation (the creation of MPEG-2 transport files .ts). It also associates each content source mount point with a segment mount point.
For more information: For information about defining content segmentation using Helix Administrator, see "Media Segmentation". Each segment mount defines segmentation properties using variables described in the section "On-Demand Mount Point Configuration". See also the section "Client Launch Utility Configuration" for information about the /m3ugen/ mount point.
The following sample syntax allows live streams on the /broadcast/ and /rtpencoder/ mount points for live broadcasts to be segmented and made available under the /iPhone/ mount point:
<List Name="MPEG2_Transport_Stream">
<Var GlobalEnable="1"/> <Var RedirectRequests="1"/>
<Var UseHTTPSKeyfileDelivery="1"/>
<Var ForceHTTPSPlaylistDelivery="0"/>
<List Name="/broadcast/">
<Var Enable="1"/>
<Var TargetMountPoint="/iPhone/"/>
</List>
<List Name="/rtpencoder/">
<Var Enable="1"/>
<Var TargetMountPoint="/iPhone/"/>
</List>
</List>
|
parent: |
|
|
registry: |
config.MPEG-2_TransportStream |
|
function: |
Defines the global transport segment settings |
|
variables: |
ForceHTTPSPlaylistDelivery, GlobalEnable, RedirectRequests, UseHTTPSKeyfileDelivery |
|
parent: |
|
|
registry: |
config.MPEG-2_TransportStream.mount_name |
|
function: |
Enables segmentation for source content under a broadcast or on-demand mount point. |
|
variables: |
|
list: |
|
|
syntax: |
<Var Enable="Boolean"/> |
|
value: |
0—do not allow content segmentation for this mount point |
|
default: |
0 |
|
example: |
<Var Enable="1"/> |
This variable enables or disables segmentation for live or on-demand content falling under the mount point.
Note: GlobalEnable must also be set to 1.
|
list: |
|
|
syntax: |
<Var ForceHTTPSPlaylistDelivery="Boolean"/> |
|
value: |
0—accept HTTP and HTTPS requests for index files |
|
default: |
0 |
|
example: |
<Var ForceHTTPSPlaylistDelivery="1"/> |
This variable enforces the use of HTTPS for users requesting index files. The value is global for all segment mount points.
Warning: HTTPS delivery of playlists works only with officially signed certificates. For details about certificate signing, refer to Helix Mobile Systems Integration Guide.
|
list: |
|
|
syntax: |
<Var GlobalEnable="Boolean"/> |
|
value: |
0—do not allow content segmentation for any mount points |
|
default: |
0 |
|
example: |
<Var GlobalEnable="1"/> |
This variable enables or disables the segmentation feature for all mount points. It must be set to 1 to allow segmented content delivery to iPhone clients.
|
list: |
|
|
syntax: |
<Var RedirectRequests="Boolean"/> |
|
value: |
0—do not send a redirect request |
|
default: |
1 |
|
example: |
<Var RedirectRequests="1"/> |
When a client requests segmented content using the /m3ugen/ mount point, the default value of 1 for this variable causes Helix Mobile Server to respond with an HTTP 302 redirection response that includes the URL to the generated .m3u8 file. If the variable is set to 0, Helix Mobile Server directly sends the generated .m3u8 file contents as the response.
|
list: |
|
|
syntax: |
<Var TargetMountPoint="string"/> |
|
value: |
existing HTTP-enabled mount point where segments are written |
|
default: |
none |
|
example: |
<Var TargetMountPoint="/iPhone/"/> |
This variable determines where the transport segments are written. Note the following:
The target mount point must exist and be defined as described in the section "On-Demand Mount Point Configuration".
The target mount point must be defined for segmentation as described in the section "Transport Segment Variables".
The target mount point must be HTTP-enabled as described in the section "HTTP Delivery Configuration".
|
list: |
|
|
syntax: |
<Var UseHTTPSKeyfileDelivery="Boolean"/> |
|
value: |
0—use HTTP for key file delivery |
|
default: |
1 |
|
example: |
<Var UseHTTPSKeyfileDelivery="1"/> |
This variable determines whether a key file containing encryption information is delivered using HTTPS (the default) or HTTP. The value is global for all segment mount points.
Warning: HTTPS delivery of key files works only with officially signed certificates. For details about certificate signing, refer to Helix Mobile Systems Integration Guide.
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com
