This is an old revision of the document!

Raptor Demos


There are 3 demos (in order of setup difficulty)

  • Raptor Image Demo
  • Raptor FTP Demo
  • Raptor Live TV Demo

The image demo is just a standalone application and does not need networking. Live TV and FTP needs networking and various server setup in order to work.

Traffic Control Bridge

The live TV server, and the FTP server are behind a transparent bridge that allows to simulate various network conditions (namely random losses and packet delay). This is done using linux traffic control system.

In order to make it easy to use, there is a simple web-interface for managing it. The code (and the server) for the web interface is in a folder named “tc” inside cangiani's home directory. In general the server is always running inside a screen. If it is not, launch a screen and run ./script/server. The bridge is a simple alix machine. Therefore, the server takes few second to start.

Once the server is running, connect a browser to in order to play around with it.

Raptor FTP Demo

The idea of this demo is to compare the speed of standard TCP (HTTP) against our own protocol making use of raptor for FEC. The code is here:

git clone ssh://

Server and client can be compiled with

./make server
./make demo

In order for the demo to work, we also need to setup the demo proxy and a simple web page made of links to files of various dimensions. This is done by running one of the scripts in the source directory. For example,


will install the proxy and the demo site to /var/www/html/rftp.

Once the proxy stuff is in place, you need to start the server. In, this is done with

./bin/linux/server -r /var/www/html/rftp/cache

The proxy is just a simple php script (proxy.php) that accepts an url parameter. It downloads the file linked to the url and store it locally. It then returns a key for the local file to be downloaded by the demo client. The demo client then uses either the raptor FTP server, or the standard Apache http server to get the cached file.

In order for the demo to work, its settings should look like the following: Raptor FTP Demo client Settings

Raptor Live TV

This is still badly work in progress and these notes are mostly for myself.

The server is in

ssh -l raptv

from there, we can reach the dvblast server with all the attached tuners.

ssh -l root