24#ifndef _FRAMED_SOURCE_HH
27#ifndef _RTP_INTERFACE_HH
30#ifndef _SRTP_CRYPTOGRAPHIC_CONTEXT_HH
80 void* handlerClientData) {
150 u_int32_t rtpTimestamp,
151 unsigned timestampFrequency,
152 Boolean useForJitterCalculation,
153 struct timeval& resultPresentationTime,
154 Boolean& resultHasBeenSyncedUsingRTCP,
155 unsigned packetSize );
159 u_int32_t ntpTimestampMSW, u_int32_t ntpTimestampLSW,
160 u_int32_t rtpTimestamp);
228 unsigned timestampFrequency,
229 Boolean useForJitterCalculation,
230 struct timeval& resultPresentationTime,
231 Boolean& resultHasBeenSyncedUsingRTCP,
232 unsigned packetSize );
234 u_int32_t rtpTimestamp);
void AuxHandlerFunc(void *clientData, unsigned char *packet, unsigned &packetSize)
Boolean seqNumLT(u_int16_t s1, u_int16_t s2)
void setStreamSocket(int sockNum, unsigned char streamChannelId, TLSState *tlsState)
void setAuxilliaryReadHandler(AuxHandlerFunc *handlerFunc, void *handlerClientData)
Iterator(RTPReceptionStatsDB &receptionStatsDB)
HashTable::Iterator * fIter
RTPReceptionStats * next(Boolean includeInactiveSources=False)
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)
unsigned numActiveSourcesSinceLastReset() const
virtual ~RTPReceptionStatsDB()
void noteIncomingSR(u_int32_t SSRC, u_int32_t ntpTimestampMSW, u_int32_t ntpTimestampLSW, u_int32_t rtpTimestamp)
unsigned fTotNumPacketsReceived
RTPReceptionStats * lookup(u_int32_t SSRC) const
unsigned fNumActiveSourcesSinceLastReset
void removeRecord(u_int32_t SSRC)
unsigned totNumPacketsReceived() const
void add(u_int32_t SSRC, RTPReceptionStats *stats)
unsigned fTotNumPacketsReceived
unsigned fMinInterPacketGapUS
RTPReceptionStats(u_int32_t SSRC)
unsigned fBaseExtSeqNumReceived
struct timeval fLastPacketReceptionTime
unsigned lastResetExtSeqNumReceived() const
void noteIncomingPacket(u_int16_t seqNum, u_int32_t rtpTimestamp, unsigned timestampFrequency, Boolean useForJitterCalculation, struct timeval &resultPresentationTime, Boolean &resultHasBeenSyncedUsingRTCP, unsigned packetSize)
unsigned lastReceivedSR_NTPmsw() const
unsigned fLastReceivedSR_NTPlsw
RTPReceptionStats(u_int32_t SSRC, u_int16_t initialSeqNum)
unsigned fHighestExtSeqNumReceived
unsigned fNumPacketsReceivedSinceLastReset
unsigned fLastResetExtSeqNumReceived
struct timeval const & totalInterPacketGaps() const
unsigned fMaxInterPacketGapUS
unsigned maxInterPacketGapUS() const
unsigned numPacketsReceivedSinceLastReset() const
struct timeval const & lastReceivedSR_time() const
unsigned highestExtSeqNumReceived() const
unsigned lastReceivedSR_NTPlsw() const
struct timeval fTotalInterPacketGaps
unsigned fLastReceivedSR_NTPmsw
unsigned totNumPacketsReceived() const
void init(u_int32_t SSRC)
void noteIncomingSR(u_int32_t ntpTimestampMSW, u_int32_t ntpTimestampLSW, u_int32_t rtpTimestamp)
unsigned minInterPacketGapUS() const
double totNumKBytesReceived() const
struct timeval fLastReceivedSR_time
void initSeqNum(u_int16_t initialSeqNum)
Boolean fHaveSeenInitialSequenceNumber
u_int32_t fTotBytesReceived_lo
u_int32_t fTotBytesReceived_hi
Boolean fHasBeenSynchronized
unsigned baseExtSeqNumReceived() const
unsigned totNumPacketsExpected() const
virtual ~RTPReceptionStats()
u_int32_t fPreviousPacketRTPTimestamp
u_int16_t curPacketRTPSeqNum() const
RTPInterface fRTPInterface
u_int32_t curPacketRTPTimestamp() const
Boolean & enableRTCPReports()
Boolean curPacketMarkerBit() const
u_int32_t fLastReceivedSSRC
void registerForMultiplexedRTCPPackets(class RTCPInstance *rtcpInstance)
void setCrypto(SRTPCryptographicContext *crypto)
u_int32_t lastReceivedSSRC() const
Groupsock * RTPgs() const
virtual Boolean hasBeenSynchronizedUsingRTCP()
void setStreamSocket(int sockNum, unsigned char streamChannelId, TLSState *tlsState)
class RTCPInstance * fRTCPInstanceForMultiplexedRTCPPackets
static Boolean lookupByName(UsageEnvironment &env, char const *sourceName, RTPSource *&resultSource)
Boolean fCurPacketMarkerBit
unsigned timestampFrequency() const
unsigned char fRTPPayloadFormat
void deregisterForMultiplexedRTCPPackets()
RTPSource(UsageEnvironment &env, Groupsock *RTPgs, unsigned char rtpPayloadFormat, u_int32_t rtpTimestampFrequency)
unsigned fTimestampFrequency
virtual void getAttributes() const
virtual void setPacketReorderingThresholdTime(unsigned uSeconds)=0
virtual Boolean isRTPSource() const
Boolean const & enableRTCPReports() const
RTPReceptionStatsDB & receptionStatsDB() const
Boolean fCurPacketHasBeenSynchronizedUsingRTCP
void setAuxilliaryReadHandler(AuxHandlerFunc *handlerFunc, void *handlerClientData)
u_int32_t fCurPacketRTPTimestamp
unsigned char rtpPayloadFormat() const
u_int16_t fCurPacketRTPSeqNum
Boolean fEnableRTCPReports
RTPReceptionStatsDB * fReceptionStatsDB
SRTPCryptographicContext * fCrypto