-
-
Notifications
You must be signed in to change notification settings - Fork 240
Return status code from openfec codec #767
Copy link
Copy link
Open
Labels
C-refactoringcategory: Refactoringcategory: Refactoringeasy hacksSolution requires minimal project contextSolution requires minimal project contexthelp wantedLooking for contributorsLooking for contributors
Metadata
Metadata
Assignees
Labels
C-refactoringcategory: Refactoringcategory: Refactoringeasy hacksSolution requires minimal project contextSolution requires minimal project contexthelp wantedLooking for contributorsLooking for contributors
Type
Projects
Status
Help wanted
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)