Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
XR packet traverser. More...
#include <xr_traverser.h>
Classes | |
class | Iterator |
Packet iterator. More... | |
Public Member Functions | |
XrTraverser (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 | blocks_count () const |
Get number of XR blocks in packet. More... | |
const header::XrPacket & | packet () const |
Get XR packet. More... | |
XR packet traverser.
Definition at line 23 of file xr_traverser.h.
|
explicit |
Initialize traverser. It will parse and iterate provided buffer.
size_t roc::rtcp::XrTraverser::blocks_count | ( | ) | const |
Get number of XR blocks in packet.
Iterator roc::rtcp::XrTraverser::iter | ( | ) | const |
Construct iterator.
const header::XrPacket& roc::rtcp::XrTraverser::packet | ( | ) | const |
Get XR packet.
bool roc::rtcp::XrTraverser::parse | ( | ) |
Parse packet from buffer.