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

XR DLRR Report block. More...

#include <headers.h>

Public Member Functions

void reset ()
 Reset to initial state (all zeros). More...
 
const XrBlockHeaderheader () const
 Get common block header. More...
 
XrBlockHeaderheader ()
 Get common block header. More...
 
size_t num_subblocks () const
 Get number of sub-blocks. More...
 
const XrDlrrSubblockget_subblock (const size_t i) const
 Get DLRR sub-block by index. More...
 
XrDlrrSubblockget_subblock (const size_t i)
 Get DLRR sub-block by index. More...
 

Detailed Description

XR DLRR Report block.

Provides delay since last receiver report (DLRR) for each receiver, complementing to DLSR.

RFC 3611 4.5: "DLRR Report Block"

0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| BT=5 | reserved | block length |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
| SSRC_1 (SSRC of first receiver) | sub-
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ block
| last RR (LRR) | 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| delay since last RR (DLRR) |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
| SSRC_2 (SSRC of second receiver) | sub-
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ block
: ... : 2
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Definition at line 1303 of file headers.h.

Member Function Documentation

◆ get_subblock() [1/2]

XrDlrrSubblock& roc::rtcp::header::XrDlrrBlock::get_subblock ( const size_t  i)
inline

Get DLRR sub-block by index.

Definition at line 1339 of file headers.h.

◆ get_subblock() [2/2]

const XrDlrrSubblock& roc::rtcp::header::XrDlrrBlock::get_subblock ( const size_t  i) const
inline

Get DLRR sub-block by index.

Definition at line 1333 of file headers.h.

◆ header() [1/2]

XrBlockHeader& roc::rtcp::header::XrDlrrBlock::header ( )
inline

Get common block header.

Definition at line 1323 of file headers.h.

◆ header() [2/2]

const XrBlockHeader& roc::rtcp::header::XrDlrrBlock::header ( ) const
inline

Get common block header.

Definition at line 1318 of file headers.h.

◆ num_subblocks()

size_t roc::rtcp::header::XrDlrrBlock::num_subblocks ( ) const
inline

Get number of sub-blocks.

Definition at line 1328 of file headers.h.

◆ reset()

void roc::rtcp::header::XrDlrrBlock::reset ( )
inline

Reset to initial state (all zeros).

Definition at line 1313 of file headers.h.


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