Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
RTCP packet composer. More...
#include <composer.h>
Public Member Functions | |
Composer () | |
Initialization. More... | |
virtual bool | align (core::Slice< uint8_t > &buffer, size_t header_size, size_t payload_alignment) |
Adjust buffer to align payload. More... | |
virtual bool | prepare (packet::Packet &packet, core::Slice< uint8_t > &buffer, size_t payload_size) |
Prepare buffer for composing a packet. More... | |
virtual bool | pad (packet::Packet &packet, size_t padding_size) |
Pad packet. More... | |
virtual bool | compose (packet::Packet &packet) |
Compose packet to buffer. More... | |
RTCP packet composer.
Definition at line 27 of file composer.h.
roc::rtcp::Composer::Composer | ( | ) |
Initialization.
|
virtual |
Adjust buffer to align payload.
Implements roc::packet::IComposer.
|
virtual |
Compose packet to buffer.
Implements roc::packet::IComposer.
|
virtual |
Pad packet.
Implements roc::packet::IComposer.
|
virtual |
Prepare buffer for composing a packet.
Implements roc::packet::IComposer.