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_
uint32 getSessionBandwidth() const
Definition: ioqueue.h:220
Tos
rtp.h cc++/rtp.h
Definition: ioqueue.h:99
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
uint32 getDefaultSessionBandwidth() const
Definition: ioqueue.h:216
virtual ~RTPDataQueue()
The queue destructor flushes the queue and stops all services.
Definition: ioqueue.h:272
Queue for incoming RTP data packets in an RTP session.
Definition: iqueue.h:884
void setTypeOfService(Tos tos)
Specify the kind of service the application expects to use.
Definition: ioqueue.h:117
void setTimeclock()
Set the packet timeclock for synchronizing timestamps.
Definition: ioqueue.h:227
void enableStack()
Enable packet queue processing in the stack.
Definition: ioqueue.h:124
Best-effort network service.
Definition: ioqueue.h:100
Generic RTP input queues.
void disableStack()
Disable packet queue processing in the stack.
Definition: ioqueue.h:130
Generic RTP output queues.
virtual void timerTick()
A plugin point for timer tick driven events.
Definition: ioqueue.h:279
bool isActive() const
Get active connection state flag.
Definition: ioqueue.h:139
A packet queue handler for building different kinds of RTP protocol systems.
Definition: ioqueue.h:75
void renewLocalSSRC()
Definition: ioqueue.h:282
A generic outgoing RTP data queue supporting multiple destinations.
Definition: oqueue.h:220
void setSessionBandwidth(uint32 bw)
Specify the bandwidth of the current session.
Definition: ioqueue.h:212