As with all Windows Media broadcasts, a Windows Media multicast is pulled or pushed from a Windows Media encoder. You need only one IPv4 address and port for each multicast.
For more information: For information about defining Windows Media multicasts using Helix Administrator, see "Windows Media Multicasting ".
The following sample shows the scalable multicasting syntax:
<!-- Windows Media Multicast -->
<List Name="Windows Media Multicast">
<Var NSCFilePath="C:\Program Files\Real\
Helix Mobile Server\Content\nscfile"/>
<List Name="Channels">
<List Name="Channel1">
<Var AlternateURL="mms://server.example.com/wmtencoder/
chopin.wma"/> <Var ClientStatisticsURL="http://server.example.com/stats"/>
<Var Description="Example multicast stream text."/>
<Var Disabled="1"/>
<Var MulticastAddress="227.0.0.1"/>
<Var Port="1234"/>
<Var TTL="16"/>
<List Name="Sources">
<List Name="100">
<Var Filename="C:\live_files\live.asf"/>
<Var LiveFilePath="/wmtencoder/live.wmv"/>
<Var SourceName="Source1"/>
</List>
</List>
</List>
</List>
</List>
|
parent: |
|
|
registry: |
config.Windows Media Multicast |
|
function: |
Defines Windows Media multicasting. |
|
variables: |
|
parent: |
|
|
registry: |
config.Windows Media Multicast.Channels |
|
function: |
Defines channels on which to deliver Windows Media multicasts. |
|
variables: |
none |
|
parent: |
|
|
registry: |
config.Windows Media Multicast.Channels.channel_name |
|
function: |
Provides a descriptive name for the multicast session. |
|
variables: |
AlternateURL, ClientStatisticsURL, Description, Disabled, MulticastAddress, Port, TTL |
Tip: Because the channel name becomes the NSC file name, RealNetworks recommends that you do not include spaces or special characters in the name.
|
parent: |
|
|
registry: |
config.Windows Media Multicast.Channels.channel_name.Sources |
|
function: |
Lists sources for the channel. |
|
variables: |
none |
Each channel can multicast a live stream from any number of Windows Media encoders. However, it can multicast a stream from just one of its live sources at a time. Following a channel definition, you set up the live sources that each channel can use. Each channel maintains a separate list of sources.
|
parent: |
|
|
registry: |
config.Windows Media Multicast.Channels.channel_name.Sources.
|
|
function: |
Provides a numbered set of rules for this source. |
|
variables: |
|
list: |
|
|
syntax: |
<Var NSCFilePath="string"/> |
|
value: |
path for the location of the NSC file |
|
default: |
none |
|
example: |
<Var NSCFilePath="C:\Program Files\Real\Helix Mobile Server\Content\nscfile"/> |
Lists the path to the NSC file, which Windows Media Players use to connect to multicasts. The default path is the nscfile directory under the Content directory.
Tip: If you use a different directory for the NSC file, add that path to the HTTP Deliverable list.
|
list: |
|
|
syntax: |
<Var AlternateURL="string"/> |
|
value: |
URL to backup unicast |
|
default: |
none |
|
example: |
<Var AlternateURL="mms://helixserver.example.com/wmtencoder/chopin.wma"/>
|
The address and path to make a backup unicast available for media players that cannot join the multicast. Although the unicast can be on the same Helix Mobile Server, you need to define the address explicitly for the unicast failover to work.
|
list: |
|
|
syntax: |
<Var ClientStatisticsURL="string"/> |
|
value: |
DNS name|IP address |
|
default: |
none |
|
example: |
<Var ClientStatisticsURL="http://server.example.com/stats"/> |
A address or host name for the Microsoft Internet Information Server (IIS) that gathers client statistics at the end of the multicast. If you leave this field blank, media players do not send back any statistics. Media players cannot send statistics to Helix Mobile Server.
For more information: Refer to the Windows Media Services documentation on reporting multicast statistics for instructions about setting up IIS to gather statistics.
|
list: |
|
|
syntax: |
<Var Description="string"/> |
|
value: |
text that describes this multicast stream |
|
default: |
none |
|
example: |
<Var Description="Example multicast stream text."/> |
Text that describes this multicast stream. This is for your reference, and is not used in the multicast.
|
list: |
|
|
syntax: |
<Var Disabled="Boolean"/> |
|
value: |
0—enable multicasting |
|
default: |
1 |
|
example: |
<Var Disabled="0"/> |
Disables multicasting for this channel.
|
list: |
|
|
syntax: |
<Var Filename="string"/> |
|
value: |
path and file name of the ASF file |
|
default: |
none |
|
example: |
<Var Filename="C:\live_files\live.asf"/> |
The full path and file name of the ASF file (extension .asf) that Windows Media Encoder generates and is copied to Helix Mobile Server when the encoding begins. This file is used only by Helix Mobile Server, and is not delivered to media players.
|
list: |
|
|
syntax: |
<Var LiveFilePath="string"/> |
|
value: |
mount point and stream name of the live stream |
|
default: |
none |
|
example: |
<Var LiveFilePath="/wmtencoder/live.wmv"/> |
Specifies the mount point and stream name that identifies the live stream pulled from Windows Media Encoder. The standard mount point is /wmtencoder/.
For more information: See StreamName.
|
list: |
|
|
syntax: |
<Var MulticastAddress="string"/> |
|
value: |
IPv4 address for the multicast |
|
default: |
none |
|
example: |
<Var MulticastAddress="227.0.0.1"/> |
The class D multicast address to use. You need only one address for each multicast. Each channel must use a different address. The multicast address must be between 224.0.0.0 and 239.255.255.255.
|
list: |
|
|
syntax: |
<Var Port="integer"/> |
|
value: |
port number |
|
default: |
none |
|
example: |
<Var Port="1234"/> |
The port where clients should listen for streams on this channel. Each channel must use a different port.
|
list: |
|
|
syntax: |
<Var SourceName="string"/> |
|
value: |
text that describes the source |
|
default: |
none |
|
example: |
<Var SourceName="Example source name text."/> |
A descriptive name for this source. This name is for your reference only, and is not used in the multicast.
|
list: |
|
|
syntax: |
<Var TTL="integer"/> |
|
value: |
0 to 255 |
|
default: |
16 |
|
example: |
<Var TTL="24"/> |
Time-to-live for multicast packets travelling over the network. Each time a multicast data packet passes through a multicast-enabled router, its time-to-live is decreased by 1. When the value is decremented to 0, the router discards the data packet.
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com
