Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::rtcp::Parser Class Reference

RTCP packet parser. More...

#include <parser.h>

Inheritance diagram for roc::rtcp::Parser:
Collaboration diagram for roc::rtcp::Parser:

Public Member Functions

 Parser ()
 Initialization. More...
 
virtual bool parse (packet::Packet &packet, const core::Slice< uint8_t > &buffer)
 Parse packet from buffer. More...
 

Detailed Description

RTCP packet parser.

Remarks
Unlike other parsers, this one just records the buffer into RTCP part of the packet and doesn't inspect the packet itself. The actual parsing is done later in rtcp::Communicator using rtcp::Traverser.

Definition at line 27 of file parser.h.

Constructor & Destructor Documentation

◆ Parser()

roc::rtcp::Parser::Parser ( )

Initialization.

Member Function Documentation

◆ parse()

virtual bool roc::rtcp::Parser::parse ( packet::Packet packet,
const core::Slice< uint8_t > &  buffer 
)
virtual

Parse packet from buffer.

Implements roc::packet::IParser.


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