Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::fec::CodecMap Class Reference

FEC codec map. More...

#include <codec_map.h>

Inheritance diagram for roc::fec::CodecMap:
Collaboration diagram for roc::fec::CodecMap:

Public Member Functions

 CodecMap ()
 Initialize. More...
 
IBlockEncodernew_encoder (const CodecConfig &config, core::BufferPool< uint8_t > &pool, core::IAllocator &allocator) const
 Create a new block encoder. More...
 
IBlockDecodernew_decoder (const CodecConfig &config, core::BufferPool< uint8_t > &pool, core::IAllocator &allocator) const
 Create a new block decoder. More...
 

Detailed Description

FEC codec map.

Definition at line 26 of file codec_map.h.

Constructor & Destructor Documentation

roc::fec::CodecMap::CodecMap ( )

Initialize.

Member Function Documentation

IBlockDecoder* roc::fec::CodecMap::new_decoder ( const CodecConfig config,
core::BufferPool< uint8_t > &  pool,
core::IAllocator allocator 
) const

Create a new block decoder.

Remarks
The codec type is determined by config.
Returns
NULL if parameters are invalid or given codec support is not enabled.
IBlockEncoder* roc::fec::CodecMap::new_encoder ( const CodecConfig config,
core::BufferPool< uint8_t > &  pool,
core::IAllocator allocator 
) const

Create a new block encoder.

Remarks
The codec type is determined by config.
Returns
NULL if parameters are invalid or given codec support is not enabled.

The documentation for this class was generated from the following file: