Stream FEC-encoded data over simple UDP-protocol?

Bert Douglas bertd at
Tue Mar 27 09:18:53 PDT 2012

FEC is not needed for UDP.    The UDP service delivers a packet, or does
UDP does not randomly flip some bits inside the packet.
To tolerate packet loss, only redundancy is needed.

If you really want FEC, I don't think you will find ready to use libraries.
FEC is used in spacecraft applications.
There is some really good free documentation here.
The old stuff is simpler and probably good enough.
There is some free source code available.

Some related topics:
-- Reed Solomon block coding, used in CDroms, to protect against scratches.
-- RAID, used for fault tolerant disk arrays.

Good luck,
Bert Douglas

On Tue, Mar 27, 2012 at 4:11 AM, Anders Branderud <
anders.branderud at> wrote:

> Hello!
> I would like to have some guidelines of how to combine video streaming
> over UDP with FEC-encoding? I would like to know what changes to be made -
> e.g. which data to take (in which classes, in which functions) and
> FEC-encode before sending it; and where to find the buffers with data to
> FEC-decode on the client-side before playing it.
> The server streams the data. It shouldn't keep track of any state of what
> data the clients have received, nor receive any acknowledgments from the
> clients during the video streaming. It merely keeps track of what data it
> has sent.
> I want to use a simple UDP-protocol.
> Thanks!
> --*Kind regards, Anders*
> [Personal blog] Will of the Creator<>  : Logical
> reasons - based on scientific premises - for the existence of a Super
> intelligent and A Orderly Creator and that He hasn't left His sapient
> creatures without an Instruction Manual - Torah ['books of Moses'] - to
> ascertain, and aspire to, His purpose.
> [Company] Anders Branderud IT Solutions -
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list