]> sjero.net Git - linphone/blobdiff - coreapi/TunnelManager.hh
- do not register outside of tunnel when tunnel is activated but not yet connected.
[linphone] / coreapi / TunnelManager.hh
index 6df99192a3fe22889dac58a019be71efbeff8158..113f76786c5ca3fa90291dd952b2f826d3c8aa59 100644 (file)
@@ -129,6 +129,7 @@ class UdpMirrorClient;
                 */
                LinphoneCore *getLinphoneCore();
                virtual void setHttpProxy(const char *host,int port, const char *username, const char *passwd);
+               virtual bool isReady() const;
        private:
                enum EventType{
                        UdpMirrorClientEvent,
@@ -143,7 +144,6 @@ class UdpMirrorClient;
                };
                typedef std::list<UdpMirrorClient> UdpMirrorClientList;
                virtual bool isStarted();
-               virtual bool isReady() const;
                void onIterate();
                static int customSendto(struct _RtpTransport *t, mblk_t *msg , int flags, const struct sockaddr *to, socklen_t tolen);
                static int customRecvfrom(struct _RtpTransport *t, mblk_t *msg, int flags, struct sockaddr *from, socklen_t *fromlen);
@@ -173,11 +173,13 @@ class UdpMirrorClient;
                Mutex mMutex;
                static Mutex sMutex;
                bool mAutoDetectStarted;
+               bool mReady;
                LinphoneRtpTransportFactories mTransportFactories;
                std::string mHttpUserName;
                std::string mHttpPasswd;
                std::string mHttpProxyHost;
                int mHttpProxyPort;
+               LinphoneFirewallPolicy mPreviousFirewallPolicy;
        };
 
 /**