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

BYE packet traverer. More...

#include <bye_traverser.h>

Classes

class  Iterator
 Packet iterator. More...
 

Public Member Functions

 ByeTraverser (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 ssrc_count () const
 Get number of SSRC elements in packet. More...
 

Detailed Description

BYE packet traverer.

Definition at line 25 of file bye_traverser.h.

Constructor & Destructor Documentation

◆ ByeTraverser()

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

Initialize traverser. It will parse and iterate provided buffer.

Member Function Documentation

◆ iter()

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

Construct iterator.

Precondition
Can be used if parse() returned true.

◆ parse()

bool roc::rtcp::ByeTraverser::parse ( )

Parse packet from buffer.

◆ ssrc_count()

size_t roc::rtcp::ByeTraverser::ssrc_count ( ) const

Get number of SSRC elements in packet.


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