44 #ifndef CCXX_RTP_IOQUEUE_H_
45 #define CCXX_RTP_IOQUEUE_H_
50 #ifdef CCXX_NAMESPACES
120 { typeOfService = tos; }
127 { dataServiceActive =
true; }
133 { dataServiceActive =
false; }
142 {
return dataServiceActive; }
204 getCurrentTimestamp()
const;
219 {
return defaultSessionBw; }
223 {
return sessionBw; }
230 { timeclock.setTimer(); }
239 {
return timeclock.getElapsed(); }
267 RTPDataQueue(uint32* ssrc, uint32 size = defaultMembersHashSize);
332 #ifdef CCXX_NAMESPACES
336 #endif //CCXX_RTP_IOQUEUE_H_
void setTimeclock()
Set the packet timeclock for synchronizing timestamps.
Best-effort network service.
void disableStack()
Disable packet queue processing in the stack.
uint32 microtimeout_t
Time interval expressed in microseconds.
uint32 getSessionBandwidth() const
Queue for incoming RTP data packets in an RTP session.
static const uint32 defaultSessionBw
bool isActive() const
Get active connection state flag.
void setSessionBandwidth(uint32 bw)
Specify the bandwidth of the current session.
Generic RTP input queues.
Generic RTP output queues.
void setTypeOfService(Tos tos)
Specify the kind of service the application expects to use.
virtual ~RTPDataQueue()
The queue destructor flushes the queue and stops all services.
void enableStack()
Enable packet queue processing in the stack.
virtual void timerTick()
A plugin point for timer tick driven events.
Timer ports are used to provide synchronized timing events when managed under a "service thread" such...
timeout_t getTimeclock() const
Get the packet timeclock for synchronizing timestamps.
A generic outgoing RTP data queue supporting multiple destinations.
uint32 getDefaultSessionBandwidth() const
A packet queue handler for building different kinds of RTP protocol systems.
volatile bool dataServiceActive