]> git.tuebingen.mpg.de Git - paraslash.git/commit
Add forward error correction code to the udp sender/receiver.
authorAndre Noll <maan@systemlinux.org>
Sat, 28 Feb 2009 13:55:46 +0000 (14:55 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 28 Feb 2009 13:55:46 +0000 (14:55 +0100)
commit625c5cd993d07a63061a0788f174e12fa1c221e0
tree692d1cb0264fc6b317f0c4604d0a5c9b30f35ee0
parent91baab1e9bbf957d139d64741db02be6490da45a
Add forward error correction code to the udp sender/receiver.

This patch adds the first draft of a FEC implementation based
on code by Luigi Rizzo.

On the server side, the FEC encoding is done within the virtual
streaming system which also contains the timing routines for sending
a FEC-encoded audio stream. Senders my request such an encoded stream
by calling vss_add_fec_client() with a fec_client_parms structure
that contains the FEC parameters and a callback function which is used
to actually send the data.

On the receiver side, the new fecdec filter is introduced which must
be used to decode a FEC-encoded stream. As the fec parameters are
contained in the header of each data slice of the encoded stream, no
options to this filter are necessary.

ATM, FEC is only used by the udp sender/receiver, but other protocols
can be easily changed to use FEC as well.

This new code is still experimental, lacks documentation and the fec
parameters can currently only be changed by editing the source code.
configure.ac
error.h
fec.c [new file with mode: 0644]
fec.h [new file with mode: 0644]
fecdec_filter.c [new file with mode: 0644]
udp_header.h [deleted file]
udp_recv.c
udp_send.c
vss.c
vss.h