Go to the documentation of this file.
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_
bool isActive() const
Get active connection state flag.
Definition: ioqueue.h:138
virtual ~RTPDataQueue()
The queue destructor flushes the queue and stops all services.
Definition: ioqueue.h:271
void setTimeclock()
Set the packet timeclock for synchronizing timestamps.
Definition: ioqueue.h:226
uint32 getDefaultSessionBandwidth() const
Definition: ioqueue.h:215
Queue for incoming RTP data packets in an RTP session.
Definition: iqueue.h:883
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
Tos
Type of network service the application uses.
Definition: ioqueue.h:98
void setTypeOfService(Tos tos)
Specify the kind of service the application expects to use.
Definition: ioqueue.h:116
void enableStack()
Enable packet queue processing in the stack.
Definition: ioqueue.h:123
virtual void timerTick()
A plugin point for timer tick driven events.
Definition: ioqueue.h:278
uint32 getSessionBandwidth() const
Definition: ioqueue.h:219
void disableStack()
Disable packet queue processing in the stack.
Definition: ioqueue.h:129
void renewLocalSSRC()
Definition: ioqueue.h:281
@ tosBestEffort
Best-effort network service.
Definition: ioqueue.h:99
Generic RTP input queues.
Generic RTP output queues.
void setSessionBandwidth(uint32 bw)
Specify the bandwidth of the current session.
Definition: ioqueue.h:211
RTP data queue handler.
Definition: ioqueue.h:74