|
ccRTP
|
Classes | |
| class | RTPDuplex |
| A peer associated RTP socket pair for physically connected peer hosts. More... | |
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 () |
| UDPTransmit::Error RTPDuplex::connect | ( | const InetHostAddress & | host, |
| tpport_t | port = 0 |
||
| ) |
| host | peer address |
| port | peer port. If not specified, the same as the local is used |
|
inlineprotectedvirtual |
Implements IncomingDataQueue.
|
protected |
|
inlineprotectedvirtual |
| timeout | how much time to wait for new data |
Implements RTPDataQueue.
|
inlineprotectedvirtual |
| buffer | where to store the retrieved data |
| len | how many octets to read |
| na | Source network address. |
| tp | Source transport port. |
Implements IncomingDataQueue.
| RTPDuplex::RTPDuplex | ( | const InetAddress & | bind, |
| tpport_t | local, | ||
| tpport_t | remote | ||
| ) |
| bind | network address this socket is to be bound |
| local | transport port this socket is to be bound |
| remote | peer transpor port |
|
inlineprotectedvirtual |
| buffer | pointer to data to be written |
| len | how many octets to write |
Reimplemented from OutgoingDataQueue.
|
inlineprotectedvirtual |
| - | peer host network address. |
| - | peer host RTCP transport port. |
Reimplemented from OutgoingDataQueue.
|
inlineprotectedvirtual |
| - | peer host network address. |
| - | peer host RTP data transport port. |
Reimplemented from OutgoingDataQueue.
|
virtual |