live
Public Member Functions | Private Member Functions | Private Attributes | Friends
RTPTransmissionStats Class Reference

#include <RTPSink.hh>

Collaboration diagram for RTPTransmissionStats:
Collaboration graph
[legend]

Public Member Functions

u_int32_t SSRC () const
 
struct sockaddr_storage const & lastFromAddress () const
 
unsigned lastPacketNumReceived () const
 
unsigned firstPacketNumReported () const
 
unsigned totNumPacketsLost () const
 
unsigned jitter () const
 
unsigned lastSRTime () const
 
unsigned diffSR_RRTime () const
 
unsigned roundTripDelay () const
 
struct timeval const & timeCreated () const
 
struct timeval const & lastTimeReceived () const
 
void getTotalOctetCount (u_int32_t &hi, u_int32_t &lo)
 
void getTotalPacketCount (u_int32_t &hi, u_int32_t &lo)
 
unsigned packetsReceivedSinceLastRR () const
 
u_int8_t packetLossRatio () const
 
int packetsLostBetweenRR () const
 

Private Member Functions

 RTPTransmissionStats (RTPSink &rtpSink, u_int32_t SSRC)
 
virtual ~RTPTransmissionStats ()
 
void noteIncomingRR (struct sockaddr_storage const &lastFromAddress, unsigned lossStats, unsigned lastPacketNumReceived, unsigned jitter, unsigned lastSRTime, unsigned diffSR_RRTime)
 

Private Attributes

RTPSinkfOurRTPSink
 
u_int32_t fSSRC
 
struct sockaddr_storage fLastFromAddress
 
unsigned fLastPacketNumReceived
 
u_int8_t fPacketLossRatio
 
unsigned fTotNumPacketsLost
 
unsigned fJitter
 
unsigned fLastSRTime
 
unsigned fDiffSR_RRTime
 
struct timeval fTimeCreated fTimeReceived
 
Boolean fAtLeastTwoRRsHaveBeenReceived
 
unsigned fOldLastPacketNumReceived
 
unsigned fOldTotNumPacketsLost
 
Boolean fFirstPacket
 
unsigned fFirstPacketNumReported
 
u_int32_t fLastOctetCount
 
u_int32_t fTotalOctetCount_hi
 
u_int32_t fTotalOctetCount_lo
 
u_int32_t fLastPacketCount
 
u_int32_t fTotalPacketCount_hi
 
u_int32_t fTotalPacketCount_lo
 

Friends

class RTPTransmissionStatsDB
 

Detailed Description

Definition at line 195 of file RTPSink.hh.

Constructor & Destructor Documentation

◆ RTPTransmissionStats()

RTPTransmissionStats::RTPTransmissionStats ( RTPSink rtpSink,
u_int32_t  SSRC 
)
private

◆ ~RTPTransmissionStats()

virtual RTPTransmissionStats::~RTPTransmissionStats ( )
privatevirtual

Member Function Documentation

◆ diffSR_RRTime()

unsigned RTPTransmissionStats::diffSR_RRTime ( ) const
inline

Definition at line 204 of file RTPSink.hh.

204 { return fDiffSR_RRTime; }
unsigned fDiffSR_RRTime
Definition: RTPSink.hh:239

References fDiffSR_RRTime.

◆ firstPacketNumReported()

unsigned RTPTransmissionStats::firstPacketNumReported ( ) const
inline

Definition at line 200 of file RTPSink.hh.

200 {return fFirstPacketNumReported;}
unsigned fFirstPacketNumReported
Definition: RTPSink.hh:245

References fFirstPacketNumReported.

◆ getTotalOctetCount()

void RTPTransmissionStats::getTotalOctetCount ( u_int32_t &  hi,
u_int32_t &  lo 
)

◆ getTotalPacketCount()

void RTPTransmissionStats::getTotalPacketCount ( u_int32_t &  hi,
u_int32_t &  lo 
)

◆ jitter()

unsigned RTPTransmissionStats::jitter ( ) const
inline

Definition at line 202 of file RTPSink.hh.

202 {return fJitter;}

References fJitter.

◆ lastFromAddress()

struct sockaddr_storage const& RTPTransmissionStats::lastFromAddress ( ) const
inline

Definition at line 198 of file RTPSink.hh.

198 {return fLastFromAddress;}
struct sockaddr_storage fLastFromAddress
Definition: RTPSink.hh:233

References fLastFromAddress.

◆ lastPacketNumReceived()

unsigned RTPTransmissionStats::lastPacketNumReceived ( ) const
inline

Definition at line 199 of file RTPSink.hh.

199 {return fLastPacketNumReceived;}
unsigned fLastPacketNumReceived
Definition: RTPSink.hh:234

References fLastPacketNumReceived.

◆ lastSRTime()

unsigned RTPTransmissionStats::lastSRTime ( ) const
inline

Definition at line 203 of file RTPSink.hh.

203 { return fLastSRTime; }
unsigned fLastSRTime
Definition: RTPSink.hh:238

References fLastSRTime.

◆ lastTimeReceived()

struct timeval const& RTPTransmissionStats::lastTimeReceived ( ) const
inline

Definition at line 209 of file RTPSink.hh.

209 {return fTimeReceived;}
struct timeval fTimeCreated fTimeReceived
Definition: RTPSink.hh:240

References fTimeReceived.

◆ noteIncomingRR()

void RTPTransmissionStats::noteIncomingRR ( struct sockaddr_storage const &  lastFromAddress,
unsigned  lossStats,
unsigned  lastPacketNumReceived,
unsigned  jitter,
unsigned  lastSRTime,
unsigned  diffSR_RRTime 
)
private

◆ packetLossRatio()

u_int8_t RTPTransmissionStats::packetLossRatio ( ) const
inline

Definition at line 215 of file RTPSink.hh.

215 { return fPacketLossRatio; }
u_int8_t fPacketLossRatio
Definition: RTPSink.hh:235

References fPacketLossRatio.

◆ packetsLostBetweenRR()

int RTPTransmissionStats::packetsLostBetweenRR ( ) const

◆ packetsReceivedSinceLastRR()

unsigned RTPTransmissionStats::packetsReceivedSinceLastRR ( ) const

◆ roundTripDelay()

unsigned RTPTransmissionStats::roundTripDelay ( ) const

◆ SSRC()

u_int32_t RTPTransmissionStats::SSRC ( ) const
inline

Definition at line 197 of file RTPSink.hh.

197 {return fSSRC;}

References fSSRC.

◆ timeCreated()

struct timeval const& RTPTransmissionStats::timeCreated ( ) const
inline

Definition at line 208 of file RTPSink.hh.

208 {return fTimeCreated;}

◆ totNumPacketsLost()

unsigned RTPTransmissionStats::totNumPacketsLost ( ) const
inline

Definition at line 201 of file RTPSink.hh.

201 {return fTotNumPacketsLost;}
unsigned fTotNumPacketsLost
Definition: RTPSink.hh:236

References fTotNumPacketsLost.

Friends And Related Function Documentation

◆ RTPTransmissionStatsDB

friend class RTPTransmissionStatsDB
friend

Definition at line 221 of file RTPSink.hh.

Field Documentation

◆ fAtLeastTwoRRsHaveBeenReceived

Boolean RTPTransmissionStats::fAtLeastTwoRRsHaveBeenReceived
private

Definition at line 241 of file RTPSink.hh.

◆ fDiffSR_RRTime

unsigned RTPTransmissionStats::fDiffSR_RRTime
private

Definition at line 239 of file RTPSink.hh.

Referenced by diffSR_RRTime().

◆ fFirstPacket

Boolean RTPTransmissionStats::fFirstPacket
private

Definition at line 244 of file RTPSink.hh.

◆ fFirstPacketNumReported

unsigned RTPTransmissionStats::fFirstPacketNumReported
private

Definition at line 245 of file RTPSink.hh.

Referenced by firstPacketNumReported().

◆ fJitter

unsigned RTPTransmissionStats::fJitter
private

Definition at line 237 of file RTPSink.hh.

Referenced by jitter().

◆ fLastFromAddress

struct sockaddr_storage RTPTransmissionStats::fLastFromAddress
private

Definition at line 232 of file RTPSink.hh.

Referenced by lastFromAddress().

◆ fLastOctetCount

u_int32_t RTPTransmissionStats::fLastOctetCount
private

Definition at line 246 of file RTPSink.hh.

◆ fLastPacketCount

u_int32_t RTPTransmissionStats::fLastPacketCount
private

Definition at line 247 of file RTPSink.hh.

◆ fLastPacketNumReceived

unsigned RTPTransmissionStats::fLastPacketNumReceived
private

Definition at line 234 of file RTPSink.hh.

Referenced by lastPacketNumReceived().

◆ fLastSRTime

unsigned RTPTransmissionStats::fLastSRTime
private

Definition at line 238 of file RTPSink.hh.

Referenced by lastSRTime().

◆ fOldLastPacketNumReceived

unsigned RTPTransmissionStats::fOldLastPacketNumReceived
private

Definition at line 242 of file RTPSink.hh.

◆ fOldTotNumPacketsLost

unsigned RTPTransmissionStats::fOldTotNumPacketsLost
private

Definition at line 243 of file RTPSink.hh.

◆ fOurRTPSink

RTPSink& RTPTransmissionStats::fOurRTPSink
private

Definition at line 231 of file RTPSink.hh.

◆ fPacketLossRatio

u_int8_t RTPTransmissionStats::fPacketLossRatio
private

Definition at line 235 of file RTPSink.hh.

Referenced by packetLossRatio().

◆ fSSRC

u_int32_t RTPTransmissionStats::fSSRC
private

Definition at line 232 of file RTPSink.hh.

Referenced by SSRC().

◆ fTimeReceived

struct timeval fTimeCreated RTPTransmissionStats::fTimeReceived
private

Definition at line 239 of file RTPSink.hh.

Referenced by lastTimeReceived().

◆ fTotalOctetCount_hi

u_int32_t RTPTransmissionStats::fTotalOctetCount_hi
private

Definition at line 246 of file RTPSink.hh.

◆ fTotalOctetCount_lo

u_int32_t RTPTransmissionStats::fTotalOctetCount_lo
private

Definition at line 246 of file RTPSink.hh.

◆ fTotalPacketCount_hi

u_int32_t RTPTransmissionStats::fTotalPacketCount_hi
private

Definition at line 247 of file RTPSink.hh.

◆ fTotalPacketCount_lo

u_int32_t RTPTransmissionStats::fTotalPacketCount_lo
private

Definition at line 247 of file RTPSink.hh.

◆ fTotNumPacketsLost

unsigned RTPTransmissionStats::fTotNumPacketsLost
private

Definition at line 236 of file RTPSink.hh.

Referenced by totNumPacketsLost().


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