43 #ifndef CCXX_RTP_IOQUEUE_H_ 44 #define CCXX_RTP_IOQUEUE_H_ 117 { typeOfService = tos; }
124 { dataServiceActive =
true; }
130 { dataServiceActive =
false; }
139 {
return dataServiceActive; }
201 getCurrentTimestamp()
const;
216 {
return defaultSessionBw; }
220 {
return sessionBw; }
227 { timeclock.setTimer(); }
236 {
return timeclock.getElapsed(); }
264 RTPDataQueue(uint32* ssrc, uint32 size = defaultMembersHashSize);
317 volatile bool dataServiceActive;
321 static const uint32 defaultSessionBw;
331 #endif //CCXX_RTP_IOQUEUE_H_ uint32 getSessionBandwidth() const
Definition: ioqueue.h:219
timeout_t getTimeclock() const
Get the packet timeclock for synchronizing timestamps.
Definition: ioqueue.h:235
uint32 microtimeout_t
Time interval expressed in microseconds.
Definition: base.h:67
uint32 getDefaultSessionBandwidth() const
Definition: ioqueue.h:215
virtual ~RTPDataQueue()
The queue destructor flushes the queue and stops all services.
Definition: ioqueue.h:271
Queue for incoming RTP data packets in an RTP session.
Definition: iqueue.h:883
void setTypeOfService(Tos tos)
Specify the kind of service the application expects to use.
Definition: ioqueue.h:116
void setTimeclock()
Set the packet timeclock for synchronizing timestamps.
Definition: ioqueue.h:226
void enableStack()
Enable packet queue processing in the stack.
Definition: ioqueue.h:123
Tos
rtp.h cc++/rtp.h
Definition: ioqueue.h:98
Generic RTP input queues.
void disableStack()
Disable packet queue processing in the stack.
Definition: ioqueue.h:129
Generic RTP output queues.
virtual void timerTick()
A plugin point for timer tick driven events.
Definition: ioqueue.h:278
Best-effort network service.
Definition: ioqueue.h:99
bool isActive() const
Get active connection state flag.
Definition: ioqueue.h:138
A packet queue handler for building different kinds of RTP protocol systems.
Definition: ioqueue.h:74
void renewLocalSSRC()
Definition: ioqueue.h:281
A generic outgoing RTP data queue supporting multiple destinations.
Definition: oqueue.h:219
void setSessionBandwidth(uint32 bw)
Specify the bandwidth of the current session.
Definition: ioqueue.h:211