ccRTP 2.1.2
|
Public Member Functions | |
Listener (InetMcastAddress &ima, tpport_t port) | |
Listener (InetHostAddress &ia, tpport_t port) | |
void | listen () |
void | onNewSyncSource (const SyncSource &src) |
void | onGotSR (SyncSource &source, SendReport &SR, uint8 blocks) |
void | onGotRR (SyncSource &source, RecvReport &RR, uint8 blocks) |
bool | onGotSDESChunk (SyncSource &source, SDESChunk &chunk, size_t len) |
void | onGotGoodbye (const SyncSource &source, const std::string &reason) |
Private Member Functions | |
void | startRunning () |
Activate stack and start service thread. More... | |
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. More... | |
size_t | takeInDataPacket (void) |
size_t | dispatchBYE (const std::string &str) |
Socket::Error | setMcastTTL (uint8 ttl) |
Set the value of the TTL field in the sent packets. More... | |
RTPDataChannel * | getDSO (void) |
InetHostAddress | getDataSender (tpport_t *port=NULL) const |
size_t | getNextDataPacketSize () const |
size_t | recvData (unsigned char *buffer, size_t len, InetHostAddress &na, tpport_t &tp) |
Receive data from the data channel/socket. More... | |
void | setDataPeer (const InetAddress &host, tpport_t port) |
size_t | sendData (const unsigned char *const buffer, size_t len) |
SOCKET | getDataRecvSocket () const |
bool | isPendingControl (microtimeout_t timeout) |
InetHostAddress | getControlSender (tpport_t *port=NULL) const |
size_t | recvControl (unsigned char *buffer, size_t len, InetHostAddress &na, tpport_t &tp) |
Receive data from the control channel/socket. More... | |
void | setControlPeer (const InetAddress &host, tpport_t port) |
size_t | sendControl (const unsigned char *const buffer, size_t len) |
SOCKET | getControlRecvSocket () const |
Socket::Error | joinGroup (const InetMcastAddress &ia, uint32 iface) |
Join a multicast group. More... | |
Socket::Error | leaveGroup (const InetMcastAddress &ia) |
Leave a multicast group. More... | |
void | endSocket () |
Private Attributes | |
RTPDataChannel * | dso |
RTCPChannel * | cso |
Definition at line 27 of file rtplisten.cpp.
|
inline |
Definition at line 30 of file rtplisten.cpp.
|
inline |
Definition at line 33 of file rtplisten.cpp.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedvirtualinherited |
Reimplemented from TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue >.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedvirtualinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
Definition at line 36 of file rtplisten.cpp.
|
inline |
Definition at line 111 of file rtplisten.cpp.
|
inline |
Definition at line 86 of file rtplisten.cpp.
|
inline |
Definition at line 97 of file rtplisten.cpp.
|
inline |
Definition at line 75 of file rtplisten.cpp.
|
inline |
Definition at line 68 of file rtplisten.cpp.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedvirtualinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedvirtualinherited |
|
protectedinherited |
|
protectedinherited |