1#if !defined(RTPPortManager_hxx)
2#define RTPPortManager_hxx
17 RTPPortManager(
int portRangeMin = 17000,
int portRangeMax = 18000);
29 unsigned int mPortRangeMin;
30 unsigned int mPortRangeMax;
31 std::deque<unsigned int> mRTPPortFreeList;
32 unsigned int mTotalPortPairs;
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
unsigned int getNumFreePortPairs()
unsigned int allocateRTPPort()
Allocates an RTP port (even - the RTCP port is the one after it). Returns 0 if none is free.
void freeRTPPort(unsigned int port)
unsigned int getNumAllocatedPortPairs()
dcm! – add UnusedChecking(_enum) below;