Return status code from openfec codec #767
Labels
easy hacks
The solution is expected to be straightforward even if you are new to the project
help wanted
An important and awaited task but we have no human resources for it yet
refactoring
Summary
fec::IBlockEncoder and fec::IBlockDecoder are interfaces for codec-specific encoding and decoding of FEC packets used for packet loss recovery. See documentation.
They both have
begin_block()
method which can report error by returning status::StatusCode.We need to update their other methods so that they return status code as well (currently they are void):
end_block()
,set_buffer()
,fill_buffers()
,repair_buffer()
.Implementation
of_xxx()
functions, check for errors, and return status code in case of error (currently errors are either unhandled or cause panic)The text was updated successfully, but these errors were encountered: