|
| | TRTPSessionBase (const InetHostAddress &ia, tpport_t dataPort, tpport_t controlPort, uint32 membersSize, RTPApplication &app) |
| | Builds a session waiting for packets in a host address. More...
|
| |
| | TRTPSessionBase (uint32 ssrc, const InetHostAddress &ia, tpport_t dataPort, tpport_t controlPort, uint32 membersSize, RTPApplication &app) |
| | Builds a session with the specified ssrc identifier for the local source. More...
|
| |
| | TRTPSessionBase (const InetMcastAddress &ia, tpport_t dataPort, tpport_t controlPort, uint32 membersSize, RTPApplication &app, uint32 iface) |
| | Builds a session waiting for packets in a multicast address. More...
|
| |
| | TRTPSessionBase (uint32 ssrc, const InetMcastAddress &ia, tpport_t dataPort, tpport_t controlPort, uint32 membersSize, RTPApplication &app, uint32 iface) |
| | Builds a session waiting for packets in a multicast address, with the specified ssrc identifier for the local source. More...
|
| |
| virtual size_t | dispatchBYE (const std::string &str) |
| |
| Socket::Error | setMcastTTL (uint8 ttl) |
| | Set the value of the TTL field in the sent packets. More...
|
| |
| virtual | ~TRTPSessionBase () |
| |
| RTPDataChannel * | getDSO (void) |
| |
|
| bool | isPendingData (microtimeout_t timeout) |
| |
| 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 () |
| |
template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue>
class TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue >
Definition at line 88 of file rtp.h.
template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue>
Ensure a port number is even.
If it is an odd number, return the next lower (even) port number.
- Parameters
-
- Returns
- filtered (even) port number
Definition at line 393 of file rtp.h.
template<class RTPDataChannel = DualRTPUDPIPv4Channel, class RTCPChannel = DualRTPUDPIPv4Channel, class ServiceQueue = AVPQueue>
Ensure a port number is odd.
If it is an even number, return the next lower (odd) port number.
- Parameters
-
- Returns
- filtered (odd) port number
Definition at line 382 of file rtp.h.