SYNOPSIS

#include <iqueue.h>

Public Member Functions

IncomingRTPPktLink (IncomingRTPPkt *pkt, SyncSourceLink *sLink, struct timeval &recv_ts, uint32 shifted_ts, IncomingRTPPktLink *sp, IncomingRTPPktLink *sn, IncomingRTPPktLink *p, IncomingRTPPktLink *n)

~IncomingRTPPktLink ()

SyncSourceLink * getSourceLink () const

void setSourceLink (SyncSourceLink *src)

IncomingRTPPktLink * getNext () const

void setNext (IncomingRTPPktLink *nl)

IncomingRTPPktLink * getPrev () const

void setPrev (IncomingRTPPktLink *pl)

IncomingRTPPktLink * getSrcNext () const

void setSrcNext (IncomingRTPPktLink *sn)

IncomingRTPPktLink * getSrcPrev () const

void setSrcPrev (IncomingRTPPktLink *sp)

IncomingRTPPkt * getPacket () const

void setPacket (IncomingRTPPkt *pkt)

void setRecvTime (const timeval &t)

Set the time this packet was received at. timeval getRecvTime () const

Get the time this packet was received at. uint32 getTimestamp () const

Get timestamp of this packet. void setTimestamp (uint32 ts)

Public Attributes

IncomingRTPPkt * packet

SyncSourceLink * sourceLink

IncomingRTPPktLink * prev

IncomingRTPPktLink * next

IncomingRTPPktLink * srcPrev

IncomingRTPPktLink * srcNext

struct timeval receptionTime

uint32 shiftedTimestamp

Detailed Description

Incoming RTP data packets control structure within the incoming packet queue class.

Constructor & Destructor Documentation

MembershipBookkeeping::IncomingRTPPktLink::IncomingRTPPktLink (\fBIncomingRTPPkt\fP *pkt, \fBSyncSourceLink\fP *sLink, struct timeval &recv_ts, uint32shifted_ts, \fBIncomingRTPPktLink\fP *sp, \fBIncomingRTPPktLink\fP *sn, \fBIncomingRTPPktLink\fP *p, \fBIncomingRTPPktLink\fP *n)\fC [inline]\fP

MembershipBookkeeping::IncomingRTPPktLink::~IncomingRTPPktLink ()\fC [inline]\fP

Member Function Documentation

\fBIncomingRTPPktLink\fP* MembershipBookkeeping::IncomingRTPPktLink::getNext () const\fC [inline]\fP

\fBIncomingRTPPkt\fP* MembershipBookkeeping::IncomingRTPPktLink::getPacket () const\fC [inline]\fP

\fBIncomingRTPPktLink\fP* MembershipBookkeeping::IncomingRTPPktLink::getPrev () const\fC [inline]\fP

timeval MembershipBookkeeping::IncomingRTPPktLink::getRecvTime () const\fC [inline]\fP

Get the time this packet was received at.

\fBSyncSourceLink\fP* MembershipBookkeeping::IncomingRTPPktLink::getSourceLink () const\fC [inline]\fP

\fBIncomingRTPPktLink\fP* MembershipBookkeeping::IncomingRTPPktLink::getSrcNext () const\fC [inline]\fP

\fBIncomingRTPPktLink\fP* MembershipBookkeeping::IncomingRTPPktLink::getSrcPrev () const\fC [inline]\fP

uint32 MembershipBookkeeping::IncomingRTPPktLink::getTimestamp () const\fC [inline]\fP

Get timestamp of this packet. The timestamp of incoming packets is filtered so that the timestamp this method provides for the first packet received from every source starts from 0.

Returns:

32 bit timestamp starting from 0 for each source.

void MembershipBookkeeping::IncomingRTPPktLink::setNext (\fBIncomingRTPPktLink\fP *nl)\fC [inline]\fP

void MembershipBookkeeping::IncomingRTPPktLink::setPacket (\fBIncomingRTPPkt\fP *pkt)\fC [inline]\fP

void MembershipBookkeeping::IncomingRTPPktLink::setPrev (\fBIncomingRTPPktLink\fP *pl)\fC [inline]\fP

void MembershipBookkeeping::IncomingRTPPktLink::setRecvTime (const timeval &t)\fC [inline]\fP

Set the time this packet was received at.

Parameters:

t time of reception.

Note:

this has almost nothing to do with the 32-bit timestamp contained in the packet header.

void MembershipBookkeeping::IncomingRTPPktLink::setSourceLink (\fBSyncSourceLink\fP *src)\fC [inline]\fP

void MembershipBookkeeping::IncomingRTPPktLink::setSrcNext (\fBIncomingRTPPktLink\fP *sn)\fC [inline]\fP

void MembershipBookkeeping::IncomingRTPPktLink::setSrcPrev (\fBIncomingRTPPktLink\fP *sp)\fC [inline]\fP

void MembershipBookkeeping::IncomingRTPPktLink::setTimestamp (uint32ts)\fC [inline]\fP

Member Data Documentation

\fBIncomingRTPPktLink\fP * MembershipBookkeeping::IncomingRTPPktLink::next

\fBIncomingRTPPkt\fP* MembershipBookkeeping::IncomingRTPPktLink::packet

\fBIncomingRTPPktLink\fP* MembershipBookkeeping::IncomingRTPPktLink::prev

struct timeval MembershipBookkeeping::IncomingRTPPktLink::receptionTime

uint32 MembershipBookkeeping::IncomingRTPPktLink::shiftedTimestamp

\fBSyncSourceLink\fP* MembershipBookkeeping::IncomingRTPPktLink::sourceLink

\fBIncomingRTPPktLink\fP * MembershipBookkeeping::IncomingRTPPktLink::srcNext

\fBIncomingRTPPktLink\fP* MembershipBookkeeping::IncomingRTPPktLink::srcPrev

Author

Generated automatically by Doxygen for ccRTP from the source code.