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

XR DLRR Report sub-block. More...

#include <headers.h>

Public Member Functions

void reset ()
 Reset to initial state (all zeros). More...
 
uint32_t ssrc () const
 Get SSRC of receiver. More...
 
void set_ssrc (const uint32_t ssrc)
 Set SSRC of receiver. More...
 
uint32_t last_rr () const
 Get LRR. More...
 
void set_last_rr (const uint32_t lrr)
 Set LRR. More...
 
uint32_t delay_last_rr () const
 Get DLRR. More...
 
void set_delay_last_rr (const uint32_t dlrr)
 Set DLRR. More...
 

Detailed Description

XR DLRR Report sub-block.

RFC 3611 4.5. "DLRR Report Sub-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
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
| SSRC |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| last RR (LRR) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| delay since last RR (DLRR) |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Definition at line 1169 of file headers.h.

Member Function Documentation

◆ delay_last_rr()

uint32_t roc::rtcp::header::XrDlrrSubblock::delay_last_rr ( ) const
inline

Get DLRR.

Definition at line 1206 of file headers.h.

◆ last_rr()

uint32_t roc::rtcp::header::XrDlrrSubblock::last_rr ( ) const
inline

Get LRR.

Definition at line 1196 of file headers.h.

◆ reset()

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

Reset to initial state (all zeros).

Definition at line 1181 of file headers.h.

◆ set_delay_last_rr()

void roc::rtcp::header::XrDlrrSubblock::set_delay_last_rr ( const uint32_t  dlrr)
inline

Set DLRR.

Definition at line 1211 of file headers.h.

◆ set_last_rr()

void roc::rtcp::header::XrDlrrSubblock::set_last_rr ( const uint32_t  lrr)
inline

Set LRR.

Definition at line 1201 of file headers.h.

◆ set_ssrc()

void roc::rtcp::header::XrDlrrSubblock::set_ssrc ( const uint32_t  ssrc)
inline

Set SSRC of receiver.

Definition at line 1191 of file headers.h.

◆ ssrc()

uint32_t roc::rtcp::header::XrDlrrSubblock::ssrc ( ) const
inline

Get SSRC of receiver.

Definition at line 1186 of file headers.h.


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