Let's assume some information about your stream :
your webradio is named Acme Radio
your website is http://acme-radio.org/
your tracker is available at freecast.acme-radio.org:1665
you're running the freecast-20060629 release
In this case, your stream description file should look like this:
Example 7.1. Minimalist stream description
<stream> <name>Acme Radio</name> <homepage>http://acme-radio.org/</homepage> <tracker> <host>acme-radio.org</host> <port>1665</port> </tracker> <jnlp> <version>20060629</version> </jnlp> </stream>
This stream description must be published on your website. In our example, it's published at
http://acme-radio.org/freecast/descriptor.xml.
These are all the options you can use into the stream description file.
Table 7.1. Stream description
| parameter name | comments |
|---|---|
| name | a short description of the stream |
| homepage | the URL of your website or the page dedicated to the FreeCast stream for instance |
| tracker.host | the host where your tracker is running |
| tracker.port | the port where your tracker is running (optional if the default port 1665 is used) |
| config | the URL of the node configuration file that the listener nodes must use |
| jnlp.version | the FreeCast release you're using for tracker and your root node. Important in order to make your listeners run a compatible release. |
![]() |
Version |
|---|---|
|
The |
There are some examples of streaming configuration files.
You can specify a node configuration file to override the default one. See the section called “Configuration”.
Example 7.2. Streaming description with a node configuration file
<stream>
<name>acme Radio</name>
<homepage>http://acme-radio.org/</homepage>
<jnlp>
<version>20060629</version>
<config>http://acme-radio.org/freecast/config.xml</config>
</jnlp>
</stream>
There is a possible node configuration file. It will used by the node listeners as specified in the previous stream configuration file. It activates the stream signature and the http player.
Example 7.3. A possible node configuration file
<freecast>
<node>
<peerprovider>
<trackeraddress>
<host>acme-radio.org</host>
</trackeraddress>
</peerprovider>
<receiver>
<class>peer</class>
<validator>
<class>signature</class>
<publickey>
http://acme-radio.org/freecast/public.key
</publickey>
</validator>
</receiver>
<players>
<player>
<class>http</class>
<listenaddress>
<port>8001</port>
</listenaddress>
</player>
</players>
</node>
</freecast>
![]() |
set the tracker host (needed if the |
![]() ![]() |
activate the stream validator by signature and specifies the public key to be used |
![]() ![]() |
activate the HTTP player and specifies the port to be used |
This is only a configuration sample, see the section called “Configuration” for more information.