48 #define RTPSOURCES_HASHSIZE 8317 106 void SentRTPPacket();
159 #ifdef RTP_SUPPORT_SDESPRIV 165 int ProcessSDESPrivateItem(
uint32_t ssrc, std::size_t prefixlen,
const void *prefixdata, std::size_t valuelen,
const void *valuedata,
const RTPTime &receivetime,
167 #endif //RTP_SUPPORT_SDESPRIV 173 int ProcessBYE(
uint32_t ssrc, std::size_t reasonlength,
const void *reasondata,
const RTPTime &receivetime,
const RTPAddress *senderaddress);
190 bool GotoFirstSource();
196 bool GotoNextSource();
202 bool GotoPreviousSource();
210 bool GotoFirstSourceWithData();
218 bool GotoNextSourceWithData();
226 bool GotoPreviousSourceWithData();
251 void Timeout(
const RTPTime &curtime,
const RTPTime &timeoutdelay);
256 void SenderTimeout(
const RTPTime &curtime,
const RTPTime &timeoutdelay);
261 void BYETimeout(
const RTPTime &curtime,
const RTPTime &timeoutdelay);
266 void NoteTimeout(
const RTPTime &curtime,
const RTPTime &timeoutdelay);
332 #ifdef RTP_SUPPORT_SDESPRIV 334 virtual void OnRTCPSDESPrivateItem(
RTPSourceData *srcdat,
const void *prefixdata, std::size_t prefixlen,
const void *valuedata, std::size_t valuelen);
335 #endif // RTP_SUPPORT_SDESPRIV 355 virtual void OnValidatedRTPPacket(
RTPSourceData *srcdat,
RTPPacket *rtppack,
bool isonprobation,
bool *ispackethandled);
357 void ClearSourceList();
410 #ifdef RTP_SUPPORT_SDESPRIV 414 #endif // RTP_SUPPORT_SDESPRIV 433 #endif // RTPSOURCES_H int GetSenderCount() const
RTPSourceData * GetOwnSourceInfo()
virtual void OnRTCPSenderReport(RTPSourceData *srcdat)
virtual void OnValidatedRTPPacket(RTPSourceData *srcdat, RTPPacket *rtppack, bool isonprobation, bool *ispackethandled)
virtual void OnRTCPSDESItem(RTPSourceData *srcdat, RTCPSDESPacket::ItemType t, const void *itemdata, std::size_t itemlength)
int GetTotalCount() const
virtual void OnAPPPacket(RTCPAPPPacket *apppacket, const RTPTime &receivetime, const RTPAddress *senderaddress)
virtual void OnNoteTimeout(RTPSourceData *srcdat)
virtual void OnRTCPCompoundPacket(RTCPCompoundPacket *pack, const RTPTime &receivetime, const RTPAddress *senderaddress)
RTPInternalSourceData * owndata
#define RTPSOURCES_HASHSIZE
int GetActiveMemberCount() const
virtual void OnBYEPacket(RTPSourceData *srcdat)
virtual void OnRTPPacket(RTPPacket *pack, const RTPTime &receivetime, const RTPAddress *senderaddress)
virtual void OnCNAMECollision(RTPSourceData *srcdat, const RTPAddress *senderaddress, const uint8_t *cname, std::size_t cnamelength)
RTPKeyHashTable< const uint32_t, RTPInternalSourceData *, RTPSources_GetHashIndex, RTPSOURCES_HASHSIZE > sourcelist
virtual void OnBYETimeout(RTPSourceData *srcdat)
virtual void OnUnknownPacketType(RTCPPacket *rtcppack, const RTPTime &receivetime, const RTPAddress *senderaddress)
virtual void OnTimeout(RTPSourceData *srcdat)
virtual void OnSSRCCollision(RTPSourceData *srcdat, const RTPAddress *senderaddress, bool isrtp)
virtual void OnRemoveSource(RTPSourceData *srcdat)
virtual void OnRTCPReceiverReport(RTPSourceData *srcdat)
virtual void OnRTCPSDESPrivateItem(RTPSourceData *srcdat, const void *prefixdata, std::size_t prefixlen, const void *valuedata, std::size_t valuelen)
virtual void OnNewSource(RTPSourceData *srcdat)
virtual void OnUnknownPacketFormat(RTCPPacket *rtcppack, const RTPTime &receivetime, const RTPAddress *senderaddress)
static int GetIndex(const uint32_t &ssrc)