00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef OPAL_OPAL_RTPEP_H
00030 #define OPAL_OPAL_RTPEP_H
00031
00032 #ifdef P_USE_PRAGMA
00033 #pragma interface
00034 #endif
00035
00036 #include <opal/buildopts.h>
00037
00038 #include <opal/endpoint.h>
00039
00040 class OpalRTPEndPoint : public OpalEndPoint
00041 {
00042 PCLASSINFO(OpalRTPEndPoint, OpalEndPoint);
00043
00048 OpalRTPEndPoint(
00049 OpalManager & manager,
00050 const PCaselessString & prefix,
00051 unsigned attributes
00052 );
00053
00056 ~OpalRTPEndPoint();
00057
00061 virtual PBoolean AdjustInterfaceTable(PIPSocket::Address & remoteAddress,
00062 PIPSocket::InterfaceTable & interfaceTable);
00063
00081 virtual PBoolean IsRTPNATEnabled(
00082 OpalConnection & connection,
00083 const PIPSocket::Address & localAddr,
00084 const PIPSocket::Address & peerAddr,
00085 const PIPSocket::Address & signalAddr,
00086 PBoolean incoming
00087 );
00088
00089 #ifdef OPAL_ZRTP
00090 virtual bool GetZRTPEnabled() const;
00091 #endif
00092
00102 virtual OpalMediaFormatList GetMediaFormats() const;
00104
00105 protected:
00106 #ifdef OPAL_ZRTP
00107 bool zrtpEnabled;
00108 #endif
00109
00111 };
00112
00113
00114 #endif // OPAL_OPAL_RTPEP_H