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);
331 #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
MembershipBookkeeping & operator=(const MembershipBookkeeping &o)
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.
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