Go to the documentation of this file.
44 #ifndef CCXX_RTP_IOQUEUE_H_
45 #define CCXX_RTP_IOQUEUE_H_
118 { typeOfService = tos; }
125 { dataServiceActive =
true; }
131 { dataServiceActive =
false; }
140 {
return dataServiceActive; }
202 getCurrentTimestamp()
const;
217 {
return defaultSessionBw; }
221 {
return sessionBw; }
228 { timeclock.setTimer(); }
237 {
return timeclock.getElapsed(); }
265 RTPDataQueue(uint32* ssrc, uint32 size = defaultMembersHashSize);
318 volatile bool dataServiceActive;
322 static const uint32 defaultSessionBw;
332 #endif //CCXX_RTP_IOQUEUE_H_
bool isActive() const
Get active connection state flag.
Definition: ioqueue.h:139
virtual ~RTPDataQueue()
The queue destructor flushes the queue and stops all services.
Definition: ioqueue.h:272
void setTimeclock()
Set the packet timeclock for synchronizing timestamps.
Definition: ioqueue.h:227
uint32 getDefaultSessionBandwidth() const
Definition: ioqueue.h:216
Queue for incoming RTP data packets in an RTP session.
Definition: iqueue.h:884
timeout_t getTimeclock() const
Get the packet timeclock for synchronizing timestamps.
Definition: ioqueue.h:236
uint32 microtimeout_t
Time interval expressed in microseconds.
Definition: base.h:68
Tos
Type of network service the application uses.
Definition: ioqueue.h:99
void setTypeOfService(Tos tos)
Specify the kind of service the application expects to use.
Definition: ioqueue.h:117
void enableStack()
Enable packet queue processing in the stack.
Definition: ioqueue.h:124
virtual void timerTick()
A plugin point for timer tick driven events.
Definition: ioqueue.h:279
uint32 getSessionBandwidth() const
Definition: ioqueue.h:220
void disableStack()
Disable packet queue processing in the stack.
Definition: ioqueue.h:130
void renewLocalSSRC()
Definition: ioqueue.h:282
@ tosBestEffort
Best-effort network service.
Definition: ioqueue.h:100
Generic RTP input queues.
Generic RTP output queues.
void setSessionBandwidth(uint32 bw)
Specify the bandwidth of the current session.
Definition: ioqueue.h:212
RTP data queue handler.
Definition: ioqueue.h:75