live
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends
RTPReceptionStatsDB Class Reference

#include <RTPSource.hh>

Collaboration diagram for RTPReceptionStatsDB:
Collaboration graph
[legend]

Data Structures

class  Iterator
 

Public Member Functions

unsigned totNumPacketsReceived () const
 
unsigned numActiveSourcesSinceLastReset () const
 
void reset ()
 
void noteIncomingPacket (u_int32_t SSRC, u_int16_t seqNum, u_int32_t rtpTimestamp, unsigned timestampFrequency, Boolean useForJitterCalculation, struct timeval &resultPresentationTime, Boolean &resultHasBeenSyncedUsingRTCP, unsigned packetSize)
 
void noteIncomingSR (u_int32_t SSRC, u_int32_t ntpTimestampMSW, u_int32_t ntpTimestampLSW, u_int32_t rtpTimestamp)
 
void removeRecord (u_int32_t SSRC)
 
RTPReceptionStatslookup (u_int32_t SSRC) const
 

Protected Member Functions

 RTPReceptionStatsDB ()
 
virtual ~RTPReceptionStatsDB ()
 
void add (u_int32_t SSRC, RTPReceptionStats *stats)
 

Protected Attributes

unsigned fNumActiveSourcesSinceLastReset
 

Private Attributes

HashTablefTable
 
unsigned fTotNumPacketsReceived
 

Friends

class RTPSource
 
class Iterator
 

Detailed Description

Definition at line 125 of file RTPSource.hh.

Constructor & Destructor Documentation

◆ RTPReceptionStatsDB()

RTPReceptionStatsDB::RTPReceptionStatsDB ( )
protected

◆ ~RTPReceptionStatsDB()

virtual RTPReceptionStatsDB::~RTPReceptionStatsDB ( )
protectedvirtual

Member Function Documentation

◆ add()

void RTPReceptionStatsDB::add ( u_int32_t  SSRC,
RTPReceptionStats stats 
)
protected

◆ lookup()

RTPReceptionStats * RTPReceptionStatsDB::lookup ( u_int32_t  SSRC) const

◆ noteIncomingPacket()

void RTPReceptionStatsDB::noteIncomingPacket ( u_int32_t  SSRC,
u_int16_t  seqNum,
u_int32_t  rtpTimestamp,
unsigned  timestampFrequency,
Boolean  useForJitterCalculation,
struct timeval &  resultPresentationTime,
Boolean resultHasBeenSyncedUsingRTCP,
unsigned  packetSize 
)

◆ noteIncomingSR()

void RTPReceptionStatsDB::noteIncomingSR ( u_int32_t  SSRC,
u_int32_t  ntpTimestampMSW,
u_int32_t  ntpTimestampLSW,
u_int32_t  rtpTimestamp 
)

◆ numActiveSourcesSinceLastReset()

unsigned RTPReceptionStatsDB::numActiveSourcesSinceLastReset ( ) const
inline

Definition at line 128 of file RTPSource.hh.

128 {
130 }
unsigned fNumActiveSourcesSinceLastReset
Definition: RTPSource.hh:177

References fNumActiveSourcesSinceLastReset.

◆ removeRecord()

void RTPReceptionStatsDB::removeRecord ( u_int32_t  SSRC)

◆ reset()

void RTPReceptionStatsDB::reset ( )

◆ totNumPacketsReceived()

unsigned RTPReceptionStatsDB::totNumPacketsReceived ( ) const
inline

Definition at line 127 of file RTPSource.hh.

127{ return fTotNumPacketsReceived; }
unsigned fTotNumPacketsReceived
Definition: RTPSource.hh:181

References fTotNumPacketsReceived.

Friends And Related Function Documentation

◆ Iterator

friend class Iterator
friend

Definition at line 176 of file RTPSource.hh.

◆ RTPSource

friend class RTPSource
friend

Definition at line 168 of file RTPSource.hh.

Field Documentation

◆ fNumActiveSourcesSinceLastReset

unsigned RTPReceptionStatsDB::fNumActiveSourcesSinceLastReset
protected

Definition at line 177 of file RTPSource.hh.

Referenced by numActiveSourcesSinceLastReset().

◆ fTable

HashTable* RTPReceptionStatsDB::fTable
private

Definition at line 180 of file RTPSource.hh.

◆ fTotNumPacketsReceived

unsigned RTPReceptionStatsDB::fTotNumPacketsReceived
private

Definition at line 181 of file RTPSource.hh.

Referenced by totNumPacketsReceived().


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