table of contents
rtpext(3) | Library Functions Manual | rtpext(3) |
NAME¶
rtpext - ccRTP Extension classes
SYNOPSIS¶
Classes¶
class RTPDuplex
A peer associated RTP socket pair for physically connected peer hosts.
Functions¶
RTPDuplex::RTPDuplex (const InetAddress &bind, tpport_t
local, tpport_t remote)
virtual RTPDuplex::~RTPDuplex ()
UDPTransmit::Error RTPDuplex::connect (const InetHostAddress &host,
tpport_t port=0)
bool RTPDuplex::isPendingData (microtimeout_t timeout)
size_t RTPDuplex::sendData (const unsigned char *const buffer, size_t
len)
size_t RTPDuplex::recvData (unsigned char *buffer, size_t len,
InetHostAddress &na, tpport_t &tp)
void RTPDuplex::setDataPeer (const InetAddress &, tpport_t)
void RTPDuplex::setControlPeer (const InetAddress &, tpport_t)
size_t RTPDuplex::getNextDataPacketSize () const
SyncSource & RTPDuplex::getPeer ()
Detailed Description¶
Function Documentation¶
UDPTransmit::Error RTPDuplex::connect (const InetHostAddress & host, tpport_t port = 0)¶
Parameters
port peer port. If not specified, the same as the local is used
Returns
Examples
rtpduphello.cpp.
size_t RTPDuplex::getNextDataPacketSize () const [inline], [protected], [virtual]¶
Implements IncomingDataQueue.
SyncSource & RTPDuplex::getPeer () [protected]¶
Returns
bool RTPDuplex::isPendingData (microtimeout_t timeout) [inline], [protected], [virtual]¶
Parameters
Returns
Implements RTPDataQueue.
size_t RTPDuplex::recvData (unsigned char * buffer, size_t len, InetHostAddress & na, tpport_t & tp) [inline], [protected], [virtual]¶
Parameters
len how many octets to read
na Source network address.
tp Source transport port.
Returns
Implements IncomingDataQueue.
RTPDuplex::RTPDuplex (const InetAddress & bind, tpport_t local, tpport_t remote)¶
Parameters
local transport port this socket is to be bound
remote peer transpor port
size_t RTPDuplex::sendData (const unsigned char *const buffer, size_t len) [inline], [protected], [virtual]¶
Parameters
len how many octets to write
Returns
Reimplemented from OutgoingDataQueue.
void RTPDuplex::setControlPeer (const InetAddress &, tpport_t) [inline], [protected], [virtual]¶
Parameters
- peer host RTCP transport port.
Reimplemented from OutgoingDataQueue.
void RTPDuplex::setDataPeer (const InetAddress &, tpport_t) [inline], [protected], [virtual]¶
Parameters
- peer host RTP data transport port.
Reimplemented from OutgoingDataQueue.
virtual RTPDuplex::~RTPDuplex () [virtual]¶
Author¶
Generated automatically by Doxygen for ccRTP from the source code.
ccRTP |