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 178 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 187 of file RTPSink.hh.

187 { return fDiffSR_RRTime; }
unsigned fDiffSR_RRTime
Definition: RTPSink.hh:222

References fDiffSR_RRTime.

◆ firstPacketNumReported()

unsigned RTPTransmissionStats::firstPacketNumReported ( ) const
inline

Definition at line 183 of file RTPSink.hh.

183 {return fFirstPacketNumReported;}
unsigned fFirstPacketNumReported
Definition: RTPSink.hh:228

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 185 of file RTPSink.hh.

185 {return fJitter;}

References fJitter.

◆ lastFromAddress()

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

Definition at line 181 of file RTPSink.hh.

181 {return fLastFromAddress;}
struct sockaddr_storage fLastFromAddress
Definition: RTPSink.hh:216

References fLastFromAddress.

◆ lastPacketNumReceived()

unsigned RTPTransmissionStats::lastPacketNumReceived ( ) const
inline

Definition at line 182 of file RTPSink.hh.

182 {return fLastPacketNumReceived;}
unsigned fLastPacketNumReceived
Definition: RTPSink.hh:217

References fLastPacketNumReceived.

◆ lastSRTime()

unsigned RTPTransmissionStats::lastSRTime ( ) const
inline

Definition at line 186 of file RTPSink.hh.

186 { return fLastSRTime; }
unsigned fLastSRTime
Definition: RTPSink.hh:221

References fLastSRTime.

◆ lastTimeReceived()

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

Definition at line 192 of file RTPSink.hh.

192 {return fTimeReceived;}
struct timeval fTimeCreated fTimeReceived
Definition: RTPSink.hh:223

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 198 of file RTPSink.hh.

198 { return fPacketLossRatio; }
u_int8_t fPacketLossRatio
Definition: RTPSink.hh:218

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 180 of file RTPSink.hh.

180 {return fSSRC;}

References fSSRC.

◆ timeCreated()

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

Definition at line 191 of file RTPSink.hh.

191 {return fTimeCreated;}

◆ totNumPacketsLost()

unsigned RTPTransmissionStats::totNumPacketsLost ( ) const
inline

Definition at line 184 of file RTPSink.hh.

184 {return fTotNumPacketsLost;}
unsigned fTotNumPacketsLost
Definition: RTPSink.hh:219

References fTotNumPacketsLost.

Friends And Related Function Documentation

◆ RTPTransmissionStatsDB

friend class RTPTransmissionStatsDB
friend

Definition at line 204 of file RTPSink.hh.

Field Documentation

◆ fAtLeastTwoRRsHaveBeenReceived

Boolean RTPTransmissionStats::fAtLeastTwoRRsHaveBeenReceived
private

Definition at line 224 of file RTPSink.hh.

◆ fDiffSR_RRTime

unsigned RTPTransmissionStats::fDiffSR_RRTime
private

Definition at line 222 of file RTPSink.hh.

Referenced by diffSR_RRTime().

◆ fFirstPacket

Boolean RTPTransmissionStats::fFirstPacket
private

Definition at line 227 of file RTPSink.hh.

◆ fFirstPacketNumReported

unsigned RTPTransmissionStats::fFirstPacketNumReported
private

Definition at line 228 of file RTPSink.hh.

Referenced by firstPacketNumReported().

◆ fJitter

unsigned RTPTransmissionStats::fJitter
private

Definition at line 220 of file RTPSink.hh.

Referenced by jitter().

◆ fLastFromAddress

struct sockaddr_storage RTPTransmissionStats::fLastFromAddress
private

Definition at line 215 of file RTPSink.hh.

Referenced by lastFromAddress().

◆ fLastOctetCount

u_int32_t RTPTransmissionStats::fLastOctetCount
private

Definition at line 229 of file RTPSink.hh.

◆ fLastPacketCount

u_int32_t RTPTransmissionStats::fLastPacketCount
private

Definition at line 230 of file RTPSink.hh.

◆ fLastPacketNumReceived

unsigned RTPTransmissionStats::fLastPacketNumReceived
private

Definition at line 217 of file RTPSink.hh.

Referenced by lastPacketNumReceived().

◆ fLastSRTime

unsigned RTPTransmissionStats::fLastSRTime
private

Definition at line 221 of file RTPSink.hh.

Referenced by lastSRTime().

◆ fOldLastPacketNumReceived

unsigned RTPTransmissionStats::fOldLastPacketNumReceived
private

Definition at line 225 of file RTPSink.hh.

◆ fOldTotNumPacketsLost

unsigned RTPTransmissionStats::fOldTotNumPacketsLost
private

Definition at line 226 of file RTPSink.hh.

◆ fOurRTPSink

RTPSink& RTPTransmissionStats::fOurRTPSink
private

Definition at line 214 of file RTPSink.hh.

◆ fPacketLossRatio

u_int8_t RTPTransmissionStats::fPacketLossRatio
private

Definition at line 218 of file RTPSink.hh.

Referenced by packetLossRatio().

◆ fSSRC

u_int32_t RTPTransmissionStats::fSSRC
private

Definition at line 215 of file RTPSink.hh.

Referenced by SSRC().

◆ fTimeReceived

struct timeval fTimeCreated RTPTransmissionStats::fTimeReceived
private

Definition at line 222 of file RTPSink.hh.

Referenced by lastTimeReceived().

◆ fTotalOctetCount_hi

u_int32_t RTPTransmissionStats::fTotalOctetCount_hi
private

Definition at line 229 of file RTPSink.hh.

◆ fTotalOctetCount_lo

u_int32_t RTPTransmissionStats::fTotalOctetCount_lo
private

Definition at line 229 of file RTPSink.hh.

◆ fTotalPacketCount_hi

u_int32_t RTPTransmissionStats::fTotalPacketCount_hi
private

Definition at line 230 of file RTPSink.hh.

◆ fTotalPacketCount_lo

u_int32_t RTPTransmissionStats::fTotalPacketCount_lo
private

Definition at line 230 of file RTPSink.hh.

◆ fTotNumPacketsLost

unsigned RTPTransmissionStats::fTotNumPacketsLost
private

Definition at line 219 of file RTPSink.hh.

Referenced by totNumPacketsLost().


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