Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Packet parser interface. More...
#include <iparser.h>
Public Member Functions | |
virtual bool | parse (Packet &packet, const core::Slice< uint8_t > &buffer)=0 |
Parse packet from buffer. More... | |
|
pure virtual |
Parse packet from buffer.
buffer
and fills packet
. If the packet payload contains an inner packet, calls the inner parser as well. Implemented in roc::rtp::Parser, roc::rtcp::Parser, and roc::fec::Parser< PayloadID, Type, Pos >.