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...
 
packet::stream_source_t ssrc () const
 Get SSRC of receiver. More...
 
void set_ssrc (const packet::stream_source_t ssrc)
 Set SSRC of receiver. More...
 
packet::ntp_timestamp_t last_rr () const
 Get LRR. More...
 
void set_last_rr (const packet::ntp_timestamp_t x)
 Set LRR. Stores only the middle 32 bits out of 64 in the NTP timestamp. More...
 
packet::ntp_timestamp_t delay_last_rr () const
 Get DLRR. More...
 
void set_delay_last_rr (const packet::ntp_timestamp_t x)
 Set DLRR. Stores only the middle 32 bits out of 64 in the NTP timestamp. 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 1228 of file headers.h.

Member Function Documentation

◆ delay_last_rr()

packet::ntp_timestamp_t roc::rtcp::header::XrDlrrSubblock::delay_last_rr ( ) const
inline

Get DLRR.

Definition at line 1268 of file headers.h.

◆ last_rr()

packet::ntp_timestamp_t roc::rtcp::header::XrDlrrSubblock::last_rr ( ) const
inline

Get LRR.

Definition at line 1257 of file headers.h.

◆ reset()

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

Reset to initial state (all zeros).

Definition at line 1240 of file headers.h.

◆ set_delay_last_rr()

void roc::rtcp::header::XrDlrrSubblock::set_delay_last_rr ( const packet::ntp_timestamp_t  x)
inline

Set DLRR. Stores only the middle 32 bits out of 64 in the NTP timestamp.

Definition at line 1274 of file headers.h.

◆ set_last_rr()

void roc::rtcp::header::XrDlrrSubblock::set_last_rr ( const packet::ntp_timestamp_t  x)
inline

Set LRR. Stores only the middle 32 bits out of 64 in the NTP timestamp.

Definition at line 1263 of file headers.h.

◆ set_ssrc()

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

Set SSRC of receiver.

Definition at line 1252 of file headers.h.

◆ ssrc()

packet::stream_source_t roc::rtcp::header::XrDlrrSubblock::ssrc ( ) const
inline

Get SSRC of receiver.

Definition at line 1247 of file headers.h.


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