Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Reception report 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. More... | |
void | set_ssrc (const packet::stream_source_t s) |
Set SSRC. More... | |
float | fract_loss () const |
Get fraction lost. More... | |
void | set_fract_loss (float fract_loss) |
Set fractional loss. Fractional loss is stored in Q.8 format. More... | |
int64_t | cum_loss () const |
Get cumulative loss. May be negative in case of packet duplications. More... | |
void | set_cum_loss (int64_t cum_loss) |
Set cumulative loss. May be negative in case of packet duplications. More... | |
packet::ext_seqnum_t | last_seqnum () const |
Get last seqnum. More... | |
void | set_last_seqnum (const packet::ext_seqnum_t x) |
Set last seqnum. More... | |
packet::stream_timestamp_t | jitter () const |
Get jitter. More... | |
void | set_jitter (const packet::stream_timestamp_t x) |
Set jitter. More... | |
packet::ntp_timestamp_t | last_sr () const |
Get LSR. More... | |
void | set_last_sr (const packet::ntp_timestamp_t x) |
Set LSR. Stores only the middle 32 bits out of 64 in the NTP timestamp. More... | |
packet::ntp_timestamp_t | delay_last_sr () const |
Get DLSR. More... | |
void | set_delay_last_sr (const packet::ntp_timestamp_t x) |
Set DLSR. Stores only the middle 32 bits out of 64 in the NTP timestamp. More... | |
Reception report block.
Part of RR and SR packets.
RFC 3550 6.4.1: "SR: Sender Report RTCP Packet" RFC 3550 6.4.2: "RR: Receiver Report RTCP Packet"
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |