#include <rtp.h>
Inheritance diagram for RTPSocket:
Public Methods | |
RTPSocket (const InetAddress &bind, tpport_t port = 5004, int pri = 0) | |
~RTPSocket () | |
void | endSocket (void) |
sockerror_t | Connect (const InetHostAddress &ia, tpport_t port = 0) |
Connect to a foriegn RTP socket and start the service thread. More... | |
Protected Methods | |
bool | isPendingArrival (timeout_t timeout) |
int | readPacket (unsigned char *buffer, unsigned len) |
int | writePacket (unsigned char *buffer, unsigned len) |
Protected Attributes | |
tpport_t | base |
This stack uses the concept of packet send and receive queues to schedule and buffer outgoing packets and to arrange or reorder incoming packets as they arrive. A single service thread both schedules sending of outgoing packets and receipt of incoming packets.
|
|
|
|
|
Connect to a foriegn RTP socket and start the service thread. If no port is specified then it is assumed to be the same as the locally bound port number.
Reimplemented from RTCPSocket. |
|
|
|
Reimplemented from RTPQueue. |
|
Reimplemented from RTPQueue. |
|
Reimplemented from RTPQueue. |
|
|