Ubuntu Manpages

RTPDuplex

RTP peer host over UDP.

#include <cc++/rtp.h>

Inherits RTPDataQueue, UDPReceive, and UDPTransmit.


RTPDuplex (const InetAddress &bind, tpport_t local, tpport_t remote)
virtual ~RTPDuplex ()
UDPTransmit::Error connect (const InetHostAddress &host, tpport_t port=0)


bool isPendingData (microtimeout_t timeout)
size_t sendData (const unsigned char *const buffer, size_t len)
size_t recvData (unsigned char *buffer, size_t len, InetHostAddress &na, tpport_t &tp)
void setDataPeer (const InetAddress &, tpport_t)
void setControlPeer (const InetAddress &, tpport_t)
size_t getNextDataPacketSize () const
SyncSource & getPeer ()

RTP peer host over UDP.

A peer associated RTP socket pair for physically connected peer hosts. This has no RTCP and assumes the receiver is connected to a known transmitter, hence no 'foreign' packets will arrive.

Author

David Sugar

Examples
rtpduphello.cpp.

Generated automatically by Doxygen for ccRTP from the source code.