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

SDES packet traverer. More...

#include <sdes_traverser.h>

Classes

class  Iterator
 Packet iterator. More...
 

Public Member Functions

 SdesTraverser (const core::Slice< uint8_t > &buf)
 Initialize traverser. It will parse and iterate provided buffer. More...
 
bool parse ()
 Parse packet from buffer. More...
 
Iterator iter () const
 Construct iterator. More...
 
size_t chunks_count () const
 Get number of SDES chunks in packet. More...
 

Detailed Description

SDES packet traverer.

Definition at line 25 of file sdes_traverser.h.

Constructor & Destructor Documentation

◆ SdesTraverser()

roc::rtcp::SdesTraverser::SdesTraverser ( const core::Slice< uint8_t > &  buf)
explicit

Initialize traverser. It will parse and iterate provided buffer.

Member Function Documentation

◆ chunks_count()

size_t roc::rtcp::SdesTraverser::chunks_count ( ) const

Get number of SDES chunks in packet.

◆ iter()

Iterator roc::rtcp::SdesTraverser::iter ( ) const

Construct iterator.

Precondition
Can be used if parse() returned true.

◆ parse()

bool roc::rtcp::SdesTraverser::parse ( )

Parse packet from buffer.


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