12 #ifndef ROC_RTCP_COMPOSER_H_
13 #define ROC_RTCP_COMPOSER_H_
Base class for non-copyable objects.
Packet composer interface.
virtual bool align(core::Slice< uint8_t > &buffer, size_t header_size, size_t payload_alignment)
Adjust buffer to align payload.
virtual bool compose(packet::Packet &packet)
Compose packet to buffer.
Composer()
Initialization.
virtual bool prepare(packet::Packet &packet, core::Slice< uint8_t > &buffer, size_t payload_size)
Prepare buffer for composing a packet.
virtual bool pad(packet::Packet &packet, size_t padding_size)
Pad packet.
Packet composer interface.