a fec library support forward error correction using reed solomon, get data package from caller, start encoding until get enough data packages from caller, and support getting original data from partial lost packages.
compile in debug mode:
cmake -DCMAKE_BUILD_TYPE=Debug ..
compile in release mode:
cmake -DCMAKE_BUILD_TYPE=Release ..