#include <srtp.h>
Public Member Functions | |
| LibSRTP_UDP (const Params &options) | |
| ~LibSRTP_UDP () | |
| PBoolean | Open (PIPSocket::Address localAddress, WORD portBase, WORD portMax, BYTE ipTypeOfService, PNatMethod *natMethod=NULL, RTP_QOS *rtpqos=NULL) |
| virtual SendReceiveStatus | OnSendData (RTP_DataFrame &frame) |
| virtual SendReceiveStatus | OnReceiveData (RTP_DataFrame &frame) |
| virtual SendReceiveStatus | OnSendControl (RTP_ControlFrame &frame, PINDEX &len) |
| virtual SendReceiveStatus | OnReceiveControl (RTP_ControlFrame &frame) |
| LibSRTP_UDP::LibSRTP_UDP | ( | const Params & | options | ) |
| options | Parameters to construct with session. |
| LibSRTP_UDP::~LibSRTP_UDP | ( | ) |
| virtual SendReceiveStatus LibSRTP_UDP::OnReceiveControl | ( | RTP_ControlFrame & | frame | ) | [virtual] |
Implements OpalSRTP_UDP.
| virtual SendReceiveStatus LibSRTP_UDP::OnReceiveData | ( | RTP_DataFrame & | frame | ) | [virtual] |
Implements OpalSRTP_UDP.
| virtual SendReceiveStatus LibSRTP_UDP::OnSendControl | ( | RTP_ControlFrame & | frame, | |
| PINDEX & | len | |||
| ) | [virtual] |
Implements OpalSRTP_UDP.
| virtual SendReceiveStatus LibSRTP_UDP::OnSendData | ( | RTP_DataFrame & | frame | ) | [virtual] |
Implements OpalSRTP_UDP.
| PBoolean LibSRTP_UDP::Open | ( | PIPSocket::Address | localAddress, | |
| WORD | portBase, | |||
| WORD | portMax, | |||
| BYTE | ipTypeOfService, | |||
| PNatMethod * | natMethod = NULL, |
|||
| RTP_QOS * | rtpqos = NULL | |||
| ) | [virtual] |
Open the UDP ports for the RTP session.
| localAddress | Local interface to bind to | |
| portBase | Base of ports to search | |
| portMax | end of ports to search (inclusive) | |
| ipTypeOfService | Type of Service byte | |
| natMethod | NAT traversal method to use createing sockets | |
| rtpqos | QOS spec (or NULL if no QoS) |
Reimplemented from RTP_UDP.
1.6.1