Incoming rtp data packets control structure within the incoming packet queue class.
#include <iqueue.h>
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)
IncomingRTPPkt * packet
SyncSourceLink * sourceLink
IncomingRTPPktLink * prev
IncomingRTPPktLink * next
IncomingRTPPktLink * srcPrev
IncomingRTPPktLink * srcNext
struct timeval receptionTime
uint32 shiftedTimestamp
Incoming RTP data packets control structure within the incoming packet queue class.
Get the time this packet was received at.
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.
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.
Generated automatically by Doxygen for ccRTP from the source code.