aboutsummaryrefslogtreecommitdiff
path: root/webrtc/p2p/base/turnport.h
diff options
context:
space:
mode:
authorguoweis@webrtc.org <guoweis@webrtc.org>2015-01-10 02:41:32 +0000
committerguoweis@webrtc.org <guoweis@webrtc.org>2015-01-10 02:41:32 +0000
commit19e4e8d751478d34c05bc2d73e065429ed65a1c1 (patch)
tree6568a47ab414981a795cf65b2fb11a2f776f6d34 /webrtc/p2p/base/turnport.h
parent0ba1533fdbe4a098723da8262f1374d71c3a1806 (diff)
downloadwebrtc-19e4e8d751478d34c05bc2d73e065429ed65a1c1.tar.gz
Add support for trying alternate server (STUN 300 error message) on TCP
BUG=3774 R=juberti@webrtc.org Review URL: https://webrtc-codereview.appspot.com/32979004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8036 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/p2p/base/turnport.h')
-rw-r--r--webrtc/p2p/base/turnport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/webrtc/p2p/base/turnport.h b/webrtc/p2p/base/turnport.h
index 3d3dad39e5..5bb7558598 100644
--- a/webrtc/p2p/base/turnport.h
+++ b/webrtc/p2p/base/turnport.h
@@ -152,7 +152,8 @@ class TurnPort : public Port {
private:
enum {
MSG_ERROR = MSG_FIRST_AVAILABLE,
- MSG_ALLOCATE_MISMATCH
+ MSG_ALLOCATE_MISMATCH,
+ MSG_TRY_ALTERNATE_SERVER
};
typedef std::list<TurnEntry*> EntryList;