#include <rtp.h>
Public Member Functions | |
RTPSource (u_int32_t srcid) | |
u_int32_t | srcid () |
int | np () |
int | snp () |
int | ehsr () |
int | nbytes () |
int | cum_pkts_lost () |
double | LSR () |
double | SRT () |
bool | is_sender () |
int | ps () |
double | rate () |
double | transit () |
double | jitter () |
void | np (int n) |
void | snp (int n) |
void | ehsr (int n) |
void | nbytes (int n) |
void | cum_pkts_lost (int n) |
void | LSR (double n) |
void | SRT (double n) |
void | is_sender (bool n) |
void | ps (int n) |
void | rate (double n) |
void | transit (double n) |
void | jitter (double n) |
Public Attributes | |
RTPSource * | next |
Protected Attributes | |
u_int32_t | srcid_ |
int | np_ |
int | snp_ |
int | ehsr_ |
int | nbytes_ |
int | cum_pkts_lost_ |
double | LSR_ |
double | SRT_ |
bool | is_sender_ |
int | ps_ |
double | rate_ |
double | transit_ |
double | jitter_ |
Definition at line 128 of file rtp.h.
RTPSource::RTPSource | ( | u_int32_t | srcid | ) |
u_int32_t RTPSource::srcid | ( | ) | [inline] |
returns the srcid_ of the RTPSource
Definition at line 136 of file rtp.h.
References srcid_.
Referenced by RTPSession::build_report(), RTPSession::calculateR_tcp(), RTPSession::enter(), RTPSession::enter_rcv(), RTPSession::lookup(), RTPSession::recv(), RTPSession::recv_ctrl(), RTPSession::remove_receiver(), RTPSession::srcid(), and RTPSession::update_rate().
int RTPSource::np | ( | ) | [inline] |
returns the number of packets sent np_ since last report
Definition at line 138 of file rtp.h.
References np_.
Referenced by RTPSession::build_report(), RTPSession::localsrc_update(), and RTPSession::recv().
int RTPSource::snp | ( | ) | [inline] |
int RTPSource::ehsr | ( | ) | [inline] |
returns the last highest extended number
Definition at line 142 of file rtp.h.
References ehsr_.
Referenced by RTPSession::recv().
int RTPSource::nbytes | ( | ) | [inline] |
returns the total number of bytes sent
Definition at line 144 of file rtp.h.
References nbytes_.
Referenced by RTPSession::build_report(), RTPSession::localsrc_update_nbytes(), and RTPSession::recv().
int RTPSource::cum_pkts_lost | ( | ) | [inline] |
returns the total number of packets lost
Definition at line 146 of file rtp.h.
References cum_pkts_lost_.
Referenced by RTPSession::recv().
double RTPSource::LSR | ( | ) | [inline] |
returns the time of the Last Sender report
Definition at line 148 of file rtp.h.
References LSR_.
Referenced by RTPSession::recv_ctrl().
double RTPSource::SRT | ( | ) | [inline] |
returns the sender report time
Definition at line 150 of file rtp.h.
References SRT_.
Referenced by RTPSession::recv_ctrl().
bool RTPSource::is_sender | ( | ) | [inline] |
returns true if this source is a sender, false otherwise
Definition at line 152 of file rtp.h.
References is_sender_.
Referenced by RTPSession::localsrc_update(), and RTPSession::recv_ctrl().
int RTPSource::ps | ( | ) | [inline] |
returns the size of the RTP Packet
Definition at line 154 of file rtp.h.
References ps_.
Referenced by RTPSession::recv().
double RTPSource::rate | ( | ) | [inline] |
double RTPSource::transit | ( | ) | [inline] |
returns the difference between the RTP packet sending and receiving times
Definition at line 158 of file rtp.h.
References transit_.
Referenced by RTPSession::recv().
double RTPSource::jitter | ( | ) | [inline] |
returns the delay jitter
Definition at line 160 of file rtp.h.
References jitter_.
Referenced by RTPSession::recv().
void RTPSource::np | ( | int | n | ) | [inline] |
void RTPSource::snp | ( | int | n | ) | [inline] |
void RTPSource::ehsr | ( | int | n | ) | [inline] |
void RTPSource::nbytes | ( | int | n | ) | [inline] |
void RTPSource::cum_pkts_lost | ( | int | n | ) | [inline] |
void RTPSource::LSR | ( | double | n | ) | [inline] |
void RTPSource::SRT | ( | double | n | ) | [inline] |
void RTPSource::is_sender | ( | bool | n | ) | [inline] |
true if this source is a sender, false otherwise
Definition at line 177 of file rtp.h.
References is_sender_.
void RTPSource::ps | ( | int | n | ) | [inline] |
void RTPSource::rate | ( | double | n | ) | [inline] |
void RTPSource::transit | ( | double | n | ) | [inline] |
void RTPSource::jitter | ( | double | n | ) | [inline] |
u_int32_t RTPSource::srcid_ [protected] |
the srcid_ of the RTPSource
Definition at line 188 of file rtp.h.
Referenced by RTPSource(), and srcid().
int RTPSource::np_ [protected] |
int RTPSource::snp_ [protected] |
int RTPSource::ehsr_ [protected] |
int RTPSource::nbytes_ [protected] |
int RTPSource::cum_pkts_lost_ [protected] |
the total number of packets lost
Definition at line 198 of file rtp.h.
Referenced by cum_pkts_lost().
double RTPSource::LSR_ [protected] |
double RTPSource::SRT_ [protected] |
bool RTPSource::is_sender_ [protected] |
true if this source is a sender, false otherwise
Definition at line 204 of file rtp.h.
Referenced by is_sender().
int RTPSource::ps_ [protected] |
double RTPSource::rate_ [protected] |
double RTPSource::transit_ [protected] |
double RTPSource::jitter_ [protected] |