12 #ifndef ROC_RTCP_TRAVERSER_H_
13 #define ROC_RTCP_TRAVERSER_H_
71 bool remove_padding_();
RTCP interface structures.
State next()
Advance iterator.
const header::SenderReportPacket & get_sr() const
Get SR packet.
const header::ReceiverReportPacket & get_rr() const
Get RR packet.
bool error() const
Check if there were any parsing errors.
SdesTraverser get_sdes()
Get traverser for SDES packet.
ByeTraverser get_bye()
Get traverser for BYE packet.
XrTraverser get_xr() const
Get traverser for XR packet.
@ END
Parsed whole compound packet.
RTCP compound packet traverser.
Traverser(const core::Slice< uint8_t > &buf)
Initialize traverser. It will parse and iterate provided buffer.
Iterator iter() const
Construct iterator.
bool parse()
Parse packet from buffer.