Forward error correction in .NET

2.9k views Asked by At

Are there any libraries (paid or free, though free is obviously better) that provide forward error correction for .NET applications? I've tried looking through the source code of some of the open source C / C++ libraries, but quite frankly, the math is confusing and my inability to read other peoples' C code with any reasonable level of clarity is a major road block.

4

There are 4 answers

0
Jeroen Wiert Pluimers On

Forward Error Correction is for instance used in media streaming.

A quick google search on "forward error correction" does not reveal much, but you could go another way:

Compile the C/C++ implementation (for instance from the list on Christian Schuler's Forward Error Correction (FEC) Page) of your choice into a DLL, then use P/Invoke to call functions in that DLL.

Another option that might fit you is to use the .NET interface to the Windows Media Services 9 series.
It contains the IWMSPublishingPoint interface that has a EnableFEC property.

--jeroen

0
watbywbarif On

If you have free C++ libraries why don't you try to build CLI wrapper around them?

0
AudioBubble On

Have you looked at the PAR2 format specification? PAR2 files provide raid-like parity for downloaded files (mostly popular on usenet binary groups). Although PAR2 is probably the wrong granularity for you, you should be able to change that once you know how it works.

0
Mahdi Ataollahi On

I found a free library on github (made by antiduh):

https://github.com/antiduh/ErrorCorrection

As it said:

A library to implement Reed-Solomon encoding. Reed Solomon is a method of encoding data with extra error correction information built in, so that errors in received data can be corrected without having to retransmit the data; this technique is also known as Forward Error Correction (FEC).