40 #ifndef OPAL_H460_STD24_H
41 #define OPAL_H460_STD24_H
49 #include <ptclib/pstun.h>
60 class PNatMethod_H46024 :
public PSTUNClient
62 PCLASSINFO(PNatMethod_H46024, PSTUNClient);
68 PNatMethod_H46024(
unsigned priority = DefaultPriority);
70 static const char * MethodName();
71 virtual PCaselessString GetMethodName()
const;
73 virtual bool IsAvailable(
const PIPSocket::Address & binding, PObject * context);
89 enum MediaStrategyIndicator
111 MediaStrategyIndicator GetStrategy()
const {
return m_strategy; }
112 bool IsDisabledH46019()
const;
117 PNatMethod_H46024 * m_natMethod;
118 MediaStrategyIndicator m_strategy;
127 PCLASSINFO_WITH_CLONE(H460_FeatureStd24AnnexA,
H460_Feature);
129 H460_FeatureStd24AnnexA();
130 ~H460_FeatureStd24AnnexA();
138 bool InitProbe(
unsigned sessionID);
145 PIPSocketAddressAndPort m_directMediaAddress;
146 PIPSocketAddressAndPort m_directControlAddress;
148 PSimpleTimer m_probeTimeout;
149 PBYTEArray m_localSHA1;
150 PBYTEArray m_remoteSHA1;
154 PDECLARE_NOTIFIER(PTimer, H460_FeatureStd24AnnexA, ProbeTimeout);
158 #endif // OPAL_H460_24A
160 #endif // OPAL_H460_24
162 #endif // OPAL_H460_STD24_H