SingleThreadRTPSession< RTPDataChannel, RTCPChannel,
- Provided by: libccrtp-doc (Version: 2.0.9-2.2)
- Source: libccrtp
- Report a bug
#include <rtp.h>
Inherits Thread, and TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue >.
SingleThreadRTPSession (const InetHostAddress &ia,
tpport_t dataPort=DefaultRTPDataPort, tpport_t controlPort=0, int
pri=0, uint32
memberssize=MembershipBookkeeping::defaultMembersHashSize,
RTPApplication &app=defaultApplication())
SingleThreadRTPSession (uint32 ssrc, const InetHostAddress &ia,
tpport_t dataPort=DefaultRTPDataPort, tpport_t controlPort=0, int
pri=0, uint32
memberssize=MembershipBookkeeping::defaultMembersHashSize,
RTPApplication &app=defaultApplication())
SingleThreadRTPSession (const InetMcastAddress &ia, tpport_t
dataPort=DefaultRTPDataPort, tpport_t controlPort=0, int pri=0,
uint32 memberssize=MembershipBookkeeping::defaultMembersHashSize,
RTPApplication &app=defaultApplication(), uint32 iface=0)
SingleThreadRTPSession (uint32 ssrc, const InetMcastAddress &ia,
tpport_t dataPort=DefaultRTPDataPort, tpport_t controlPort=0, int
pri=0, uint32
memberssize=MembershipBookkeeping::defaultMembersHashSize,
RTPApplication &app=defaultApplication(), uint32 iface=0)
~SingleThreadRTPSession ()
void startRunning ()
Activate stack and start service thread.
void disableStack (void)
void enableStack (void)
microtimeout_t getSchedulingTimeout (void)
void controlReceptionService (void)
void controlTransmissionService (void)
timeval getRTCPCheckInterval (void)
size_t dispatchDataPacket (void)
virtual void timerTick (void)
virtual bool isPendingData (microtimeout_t timeout)
virtual void run (void)
Single runnable method for this RTP stacks, schedules outgoing and incoming
RTP data and RTCP packets. size_t takeInDataPacket (void)
size_t dispatchBYE (const std::string &str)
This template class adds the threading aspect to the RTPSessionBase template in one of the many possible ways.
It inherits from a single execution thread that schedules sending of outgoing packets and receipt of incoming packets.
Author:
Examples:
audiorx.cpp, audiotx.cpp, ccrtptest.cpp,
rtphello.cpp, rtplisten.cpp, and rtpsend.cpp.
Reimplemented from TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue >.
Single runnable method for this RTP stacks, schedules outgoing and incoming RTP data and RTCP packets.
Activate stack and start service thread.
Examples:
audiorx.cpp, audiotx.cpp, ccrtptest.cpp, and
rtphello.cpp.
Generated automatically by Doxygen for ccRTP from the source code.