Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
RTP packet parser. More...
#include <parser.h>
Public Member Functions | |
Parser (const EncodingMap &encoding_map, packet::IParser *inner_parser) | |
Initialization. More... | |
virtual bool | parse (packet::Packet &packet, const core::Slice< uint8_t > &buffer) |
Parse packet from buffer. More... | |
roc::rtp::Parser::Parser | ( | const EncodingMap & | encoding_map, |
packet::IParser * | inner_parser | ||
) |
Initialization.
Parameters
encoding_map
is used to get packet parameters by its payload typeinner_parser
is not NULL, it is used to parse the packet payload
|
virtual |
Parse packet from buffer.
Implements roc::packet::IParser.