Synchronization Source internal handler within the incoming packets queue.
More...
#include <iqueue.h>
Collaboration diagram for MembershipBookkeeping::SyncSourceLink:
Public Member Functions
Note it deletes the source.
More...
Get the synchronization source object this link objet holds information for.
More...
Get first RTP (data) packet in the queue of packets received from this socket.
More...
Get last RTP (data) packet in the queue of packets received from this socket.
More...
Get the link object for the previous RTP source.
More...
Get the link object for the next RTP source.
More...
Get the link object for the next RTP source in the hash table entry collision list.
More...
Get the total number of RTP packets received from this source.
More...
Get the total number of payload octets received from this source.
More...
Get the highest valid sequence number received.
More...
Set the highest valid sequence number recived.
More...
Mark this source as having sent a BYE control packet.
More...
Mark this source as having sent some packet.
More...
Start a new sequence of received packets.
More...
Record the insertion of an RTP packet from this source into the scheduled reception queue.
More...
Compute cumulative packet lost and fraction of packets lost during the last reporting interval.
More...
Data Fields
Static Public Attributes
Detailed Description
Synchronization Source internal handler within the incoming packets queue.
Incoming packets queue objects hold a hash table and a linked list of synchronization sources. For each of these sources, there is also a linked list of incoming rtp packets, which are linked in an "all incoming packets" list as well. SyncSourceLink objects hold the necessary data to maintain these data estructures, as well as source specific information and statistics for RTCP,
- Author
- Federico Montesino Pouzols fedem.nosp@m.p@al.nosp@m.tern..nosp@m.org
Definition at line 472 of file iqueue.h.
Constructor & Destructor Documentation
MembershipBookkeeping::SyncSourceLink::~SyncSourceLink
(
)
Note it deletes the source.
Member Function Documentation
void MembershipBookkeeping::SyncSourceLink::computeStats
(
)
Compute cumulative packet lost and fraction of packets lost during the last reporting interval.
void MembershipBookkeeping::SyncSourceLink::decProbation
(
)
inline
uint32 MembershipBookkeeping::SyncSourceLink::getBadSeqNum
(
)
const
inline
uint16 MembershipBookkeeping::SyncSourceLink::getBaseSeqNum
(
)
const
inline
uint32 MembershipBookkeeping::SyncSourceLink::getCumulativePacketLost
(
)
const
inline
uint32 MembershipBookkeeping::SyncSourceLink::getExtendedMaxSeqNum
(
)
const
inline
Get first RTP (data) packet in the queue of packets received from this socket.
Definition at line 509 of file iqueue.h.
uint8 MembershipBookkeeping::SyncSourceLink::getFractionLost
(
)
const
inline
bool MembershipBookkeeping::SyncSourceLink::getGoodbye
(
)
inline
Mark this source as having sent a BYE control packet.
- Returns
- whether some packet from this source had been received before (getHello() has been called at least once)
Definition at line 669 of file iqueue.h.
bool MembershipBookkeeping::SyncSourceLink::getHello
(
)
inline
Mark this source as having sent some packet.
- Returns
- whether no packet from this source had been received before
Definition at line 683 of file iqueue.h.
timeval MembershipBookkeeping::SyncSourceLink::getInitialDataTime
(
)
const
inline
uint32 MembershipBookkeeping::SyncSourceLink::getInitialDataTimestamp
(
)
const
inline
float MembershipBookkeeping::SyncSourceLink::getJitter
(
)
const
inline
Get last RTP (data) packet in the queue of packets received from this socket.
Definition at line 519 of file iqueue.h.
timeval MembershipBookkeeping::SyncSourceLink::getLastPacketTime
(
)
const
inline
uint32 MembershipBookkeeping::SyncSourceLink::getLastPacketTransitTime
(
)
inline
timeval MembershipBookkeeping::SyncSourceLink::getLastRTCPPacketTime
(
)
const
inline
timeval MembershipBookkeeping::SyncSourceLink::getLastRTCPSRTime
(
)
const
inline
uint16 MembershipBookkeeping::SyncSourceLink::getMaxSeqNum
(
)
const
inline
Get the highest valid sequence number received.
Definition at line 607 of file iqueue.h.
Get the link object for the next RTP source.
Definition at line 537 of file iqueue.h.
SyncSourceLink* MembershipBookkeeping::SyncSourceLink::getNextCollis
(
)
inline
Get the link object for the next RTP source in the hash table entry collision list.
Note that collision does not refer to SSRC collision, but hash table collision.
Definition at line 549 of file iqueue.h.
uint32 MembershipBookkeeping::SyncSourceLink::getObservedOctetCount
(
)
const
inline
Get the total number of payload octets received from this source.
Definition at line 597 of file iqueue.h.
uint32 MembershipBookkeeping::SyncSourceLink::getObservedPacketCount
(
)
const
inline
Get the total number of RTP packets received from this source.
Definition at line 587 of file iqueue.h.
Get the link object for the previous RTP source.
Definition at line 528 of file iqueue.h.
ConflictingTransportAddress* MembershipBookkeeping::SyncSourceLink::getPrevConflict
(
)
const
inline
uint8 MembershipBookkeeping::SyncSourceLink::getProbation
(
)
const
inline
unsigned char* MembershipBookkeeping::SyncSourceLink::getReceiverInfo
(
)
inline
unsigned char* MembershipBookkeeping::SyncSourceLink::getSenderInfo
(
)
inline
uint32 MembershipBookkeeping::SyncSourceLink::getSeqNumAccum
(
)
const
inline
SyncSource* MembershipBookkeeping::SyncSourceLink::getSource
(
)
inline
Get the synchronization source object this link objet holds information for.
Definition at line 503 of file iqueue.h.
void MembershipBookkeeping::SyncSourceLink::incObservedOctetCount
(
uint32
n )
inline
void MembershipBookkeeping::SyncSourceLink::incObservedPacketCount
(
)
inline
void MembershipBookkeeping::SyncSourceLink::incSeqNumAccum
(
)
inline
void MembershipBookkeeping::SyncSourceLink::initSequence
(
uint16
seqnum )
inline
Start a new sequence of received packets.
Definition at line 720 of file iqueue.h.
void MembershipBookkeeping::SyncSourceLink::initStats
(
)
bool MembershipBookkeeping::SyncSourceLink::isValid
(
void
)
const
inline
void MembershipBookkeeping::SyncSourceLink::recordInsertion
(
const
IncomingRTPPktLink &
pl )
Record the insertion of an RTP packet from this source into the scheduled reception queue.
All received packets should be registered with recordReception(), but only those actually inserted into the queue should be registered via this method.
- Parameters
-
pl Link structure for packet inserted into the queue.
void MembershipBookkeeping::SyncSourceLink::setBadSeqNum
(
uint32
seq )
inline
void MembershipBookkeeping::SyncSourceLink::setCumulativePacketLost
(
uint32
pl )
inline
void MembershipBookkeeping::SyncSourceLink::setExtendedMaxSeqNum
(
uint32
seq )
inline
void MembershipBookkeeping::SyncSourceLink::setFractionLost
(
uint8
fl )
inline
void MembershipBookkeeping::SyncSourceLink::setInitialDataTime
(
timeval
it )
inline
void MembershipBookkeeping::SyncSourceLink::setInitialDataTimestamp
(
uint32
ts )
inline
void MembershipBookkeeping::SyncSourceLink::setJitter
(
float
j )
inline
void MembershipBookkeeping::SyncSourceLink::setLastPacketTransitTime
(
uint32
time )
inline
void MembershipBookkeeping::SyncSourceLink::setMaxSeqNum
(
uint16
max )
inline
Set the highest valid sequence number recived.
- Parameters
-
max Sequence number.
Definition at line 615 of file iqueue.h.
void MembershipBookkeeping::SyncSourceLink::setNext
(
SyncSourceLink *
ns )
inline
void MembershipBookkeeping::SyncSourceLink::setNextCollis
(
SyncSourceLink *
ns )
inline
void MembershipBookkeeping::SyncSourceLink::setPrev
(
SyncSourceLink *
ps )
inline
void MembershipBookkeeping::SyncSourceLink::setPrevConflict
(
InetAddress &
addr,
)
void MembershipBookkeeping::SyncSourceLink::setProbation
(
uint8
p )
inline
void MembershipBookkeeping::SyncSourceLink::setReceiverInfo
(
unsigned char *
ri )
void MembershipBookkeeping::SyncSourceLink::setSenderInfo
(
unsigned char *
si )
Field Documentation
uint32 MembershipBookkeeping::SyncSourceLink::badSeqNum
uint16 MembershipBookkeeping::SyncSourceLink::baseSeqNum
uint32 MembershipBookkeeping::SyncSourceLink::cumulativePacketLost
uint32 MembershipBookkeeping::SyncSourceLink::expectedPrior
uint32 MembershipBookkeeping::SyncSourceLink::extendedMaxSeqNum
bool MembershipBookkeeping::SyncSourceLink::flag
uint8 MembershipBookkeeping::SyncSourceLink::fractionLost
timeval MembershipBookkeeping::SyncSourceLink::initialDataTime
uint32 MembershipBookkeeping::SyncSourceLink::initialDataTimestamp
float MembershipBookkeeping::SyncSourceLink::jitter
timeval MembershipBookkeeping::SyncSourceLink::lastPacketTime
uint32 MembershipBookkeeping::SyncSourceLink::lastPacketTransitTime
timeval MembershipBookkeeping::SyncSourceLink::lastRTCPPacketTime
timeval MembershipBookkeeping::SyncSourceLink::lastRTCPSRTime
uint16 MembershipBookkeeping::SyncSourceLink::maxSeqNum
uint32 MembershipBookkeeping::SyncSourceLink::obsOctetCount
uint32 MembershipBookkeeping::SyncSourceLink::obsPacketCount
ConflictingTransportAddress* MembershipBookkeeping::SyncSourceLink::prevConflict
uint8 MembershipBookkeeping::SyncSourceLink::probation
uint32 MembershipBookkeeping::SyncSourceLink::receivedPrior
unsigned char* MembershipBookkeeping::SyncSourceLink::receiverInfo
unsigned char* MembershipBookkeeping::SyncSourceLink::senderInfo
uint32 MembershipBookkeeping::SyncSourceLink::seqNumAccum
const uint32 MembershipBookkeeping::SyncSourceLink::SEQNUMMOD
static
SyncSource* MembershipBookkeeping::SyncSourceLink::source
The documentation for this struct was generated from the following file: