| 1 | Introduction |
| 2 | Base DRL system |
| 2.1 | drl |
| 2.2 | drllist |
| 2.3 | drlsendrev |
| 3 | Audio streams |
| 3.1 | audiorepeater |
| 3.2 | audioreflector |
| 3.3 | audioparrot |
| 3.4 | audiobroadcaster |
| 3.5 | audiostreambroadcaster |
| 4 | Text streams |
This documents describes the programs included in the DRL distribution. They are published under the terms of the GNU General Public License version 2 or any later version as published by the Free Software Foundation. For more info and the terms of this license read the LICENSE file.
These files consist of the base DRL system and various stream implementations. Althoug usable they should primarily be regarded as reference implementations or 'proof of concept'. Most testing has been done on a i386 Linux system, but the programs have been successfully compiled on FreeBSD. The programs should be endian safe, but this has not been tested.
drl is a DRL router. It will open a listen socket on tcp port 7373 and will listen for data packets on udp port 7373. When started it will look for a config file named drl.conf or for an alternative file if additional arguments are given. Each line in the config file will consist of three fields, except for the default entry: this has only two fields namely the name default and the bandwidth used for connections from unknown hosts. The first field contains a hostname, the second the bandwidth available for this host and the third field contains either a zero or a one. The last field indicates if the router should attempt to make a connection to these hosts itself. The drl.conf file might look like this:
default 32 pe1rxq.ampr.org 5000 1 pi8zaa.ampr.org 64 1
drllist will connect to localhost on tcp port 7373, it will wait for STREAM messages and will display them. When all STREAM messages are read it will exit.
With drlsendrev it is possible to send reverse message to the DRL network. This can be used to automaticly link streams but can also be very dangerous. Use this tool with care!
audiorepeater is the pc part of a repeater setup. It will communicate with the repeater over a serial connection and will use a OSS sound device for playing and recording audio.
An audioreflector will retransmit audio data send to it under its own name. It will use group connects to connect to each node to allow bandwidth to be shared.
audioparrot is a modified version of audioreflector. Instead of immediatly relaying a stream it is played when PTT is released. It is mainly usefull for testing ones own setup.
audiobroadcaster will start sending the contents of a 8Kbps Narrowband speex file when it receives a connect.
audiostreambroadcaster will encode audio samples read via stdin and send them to the DRL network. It can be used to retransmit mpeg stream with for example mpg123.
dtalk is a chat program that uses the mime-type text/plain. dtalk needs three arguments: router, myname and group. It will attempt to make a connection to 'router' using 'myname' as its stream name and 'group' as its alias. It will do a group connect to all streams using the same alias.