Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Packet iterator. More...
#include <xr_traverser.h>
Public Types | |
enum | State { BEGIN , RRTR_BLOCK , DLRR_BLOCK , MEASUREMENT_INFO_BLOCK , DELAY_METRICS_BLOCK , QUEUE_METRICS_BLOCK , END } |
Iterator state. More... | |
Public Member Functions | |
State | next () |
Advance iterator. More... | |
bool | error () const |
Check if there were any parsing errors. More... | |
const header::XrRrtrBlock & | get_rrtr () const |
Get RRTR block (receiver reference time). More... | |
const header::XrDlrrBlock & | get_dlrr () const |
Get DLRR block (delay since last receiver report). More... | |
const header::XrMeasurementInfoBlock & | get_measurement_info () const |
Get measurement info block. More... | |
const header::XrDelayMetricsBlock & | get_delay_metrics () const |
Get delay metrics block. More... | |
const header::XrQueueMetricsBlock & | get_queue_metrics () const |
Get queue metrics block. More... | |
Friends | |
class | XrTraverser |
Packet iterator.
Definition at line 26 of file xr_traverser.h.
Iterator state.
Enumerator | |
---|---|
BEGIN | Iterator created. |
RRTR_BLOCK | RRTR block (receiver reference time). |
DLRR_BLOCK | DLRR block (delay since last receiver report). |
MEASUREMENT_INFO_BLOCK | Measurement information block. |
DELAY_METRICS_BLOCK | Delay metrics block. |
QUEUE_METRICS_BLOCK | Queue metrics block. |
END | Parsed whole packet. |
Definition at line 29 of file xr_traverser.h.
bool roc::rtcp::XrTraverser::Iterator::error | ( | ) | const |
Check if there were any parsing errors.
const header::XrDelayMetricsBlock& roc::rtcp::XrTraverser::Iterator::get_delay_metrics | ( | ) | const |
Get delay metrics block.
const header::XrDlrrBlock& roc::rtcp::XrTraverser::Iterator::get_dlrr | ( | ) | const |
Get DLRR block (delay since last receiver report).
const header::XrMeasurementInfoBlock& roc::rtcp::XrTraverser::Iterator::get_measurement_info | ( | ) | const |
Get measurement info block.
const header::XrQueueMetricsBlock& roc::rtcp::XrTraverser::Iterator::get_queue_metrics | ( | ) | const |
Get queue metrics block.
const header::XrRrtrBlock& roc::rtcp::XrTraverser::Iterator::get_rrtr | ( | ) | const |
Get RRTR block (receiver reference time).
State roc::rtcp::XrTraverser::Iterator::next | ( | ) |
Advance iterator.