Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Encoder implementation using OpenFEC library. More...
#include <openfec_encoder.h>
Public Member Functions | |
OpenfecEncoder (const CodecConfig &config, packet::PacketFactory &packet_factory, core::IArena &arena) | |
Initialize. More... | |
bool | is_valid () const |
Check if object is successfully constructed. More... | |
virtual size_t | alignment () const |
Get buffer alignment requirement. More... | |
virtual size_t | max_block_length () const |
Get the maximum number of encoding symbols for the scheme being used. More... | |
virtual bool | begin (size_t sblen, size_t rblen, size_t payload_size) |
Start block. More... | |
virtual void | set (size_t index, const core::Slice< uint8_t > &buffer) |
Store packet data for current block. More... | |
virtual void | fill () |
Fill repair packets. More... | |
virtual void | end () |
Finish block. More... | |
Encoder implementation using OpenFEC library.
Definition at line 40 of file openfec_encoder.h.
|
explicit |
Initialize.
|
virtual |
Get buffer alignment requirement.
Implements roc::fec::IBlockEncoder.
|
virtual |
Start block.
Implements roc::fec::IBlockEncoder.
|
virtual |
Finish block.
Implements roc::fec::IBlockEncoder.
|
virtual |
Fill repair packets.
Implements roc::fec::IBlockEncoder.
bool roc::fec::OpenfecEncoder::is_valid | ( | ) | const |
Check if object is successfully constructed.
|
virtual |
Get the maximum number of encoding symbols for the scheme being used.
Implements roc::fec::IBlockEncoder.
|
virtual |
Store packet data for current block.
Implements roc::fec::IBlockEncoder.