42 #ifndef CCXX_RTP_POOL_H
43 #define CCXX_RTP_POOL_H
57 {
return s.getSchedulingTimeout(); }
60 {
return s.getRTCPCheckInterval(); }
64 {
return s.takeInDataPacket(); }
68 {
return s.dispatchDataPacket(); }
72 { s.controlReceptionService(); }
76 { s.controlTransmissionService(); }
79 {
return s.getDataRecvSocket(); }
82 {
return s.getControlRecvSocket(); }
106 : elem(e), cleared(false) {
169 getPoolLength()
const;
171 virtual void startRunning() = 0;
174 {
return poolActive; }
178 { poolActive =
true; }
181 {
return poolTimeout; }
184 { poolTimeout.tv_sec = sec; poolTimeout.tv_usec = usec; }
187 { poolTimeout = to; }
234 #endif //CCXX_RTP_POOL_H
std::list< SessionListElement * >::iterator PoolIterator
std::list< SessionListElement * > sessionList
size_t dispatchDataPacket(RTPSessionBase &s)
void controlTransmissionService(RTPSessionBase &s)
void setPoolTimeout(struct timeval to)
uint32 microtimeout_t
Time interval expressed in microseconds.
Generic RTP protocol stack for exchange of realtime data.
SOCKET getControlRecvSocket(RTPSessionBase &s) const
SOCKET getDataRecvSocket(RTPSessionBase &s) const
size_t takeInDataPacket(RTPSessionBase &s)
std equality for SessionListElement objects.
SessionListElement(RTPSessionBase *e)
SingleRTPSessionPool(int pri=0)
virtual ~RTPSessionPool()
timeval getRTCPCheckInterval(RTPSessionBase &s)
Class for tracking session status.
bool operator()(SessionListElement *e)
microtimeout_t getSchedulingTimeout(RTPSessionBase &s)
void controlReceptionService(RTPSessionBase &s)
PredEquals(RTPSessionBase *e)
This class is a base class for classes that define a group of RTP sessions that will be served by one...
TRTPSessionBase RTPSessionBase
Generic and audio/video profile specific RTP interface of ccRTP.
void setPoolTimeout(int sec, int usec)