Configuration

General layout

<?xml version="1.0"?>
<freecast>
  <tracker>
    Connector
    ConnectionAssistant
  </tracker>
</freecast>

Connector

HTTP Connector

<connector>
  <class>http</class>
  <listenaddress>
    <host>0.0.0.0</host>
    <port>1665</port>
  </listenaddress>
</connector>

listenaddress.  specifies where the connector (and so the tracker) is listening to requests sent by the nodes. By default, the connector is listening on every available IP address (0.0.0.0) and the TCP port 1665.

ConnectionAssistant

<connection-assistant>
  <listenaddress>
    <port>1666</port>
  </listenaddress>
</connection-assistant>

listenaddress.  specifies where the connection assistant is listening to requests sent by the nodes to request assistance to traverse NATs. By default, the connection assistant is listening on every available IP address (0.0.0.0) and the TCP port 1666.

Configuration sample

This is the default configuration of the FreeCast tracker.

Example 4.1. Tracker default configuration

<freecast>
  <tracker>
    <connector>
      <class>http</class>
      <listenaddress>
        <host>0.0.0.0</host>
        <port>1665</port>
      </listenaddress>
    </connector>
    <connection-assistant>
      <listenaddress>
        <host>0.0.0.0</host>
        <port>1666</port>
      </listenaddress>
    </connection-assistant>
  </tracker>
</freecast>