Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: webrtc/p2p/base/turnport.h

Issue 2083803002: Fix IPv6 support issue. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/p2p/base/turnport.h
diff --git a/webrtc/p2p/base/turnport.h b/webrtc/p2p/base/turnport.h
index 17d2d45181930bcc1ce9bb8ba8a75b0cf03225d4..f63044e47222c039227806834dbc976c140d941a 100644
--- a/webrtc/p2p/base/turnport.h
+++ b/webrtc/p2p/base/turnport.h
@@ -86,6 +86,7 @@ class TurnPort : public Port {
virtual void PrepareAddress();
virtual Connection* CreateConnection(
const Candidate& c, PortInterface::CandidateOrigin origin);
+
virtual int SendTo(const void* data, size_t size,
const rtc::SocketAddress& addr,
const rtc::PacketOptions& options,
@@ -201,6 +202,8 @@ class TurnPort : public Port {
UpdateHash();
}
}
+ bool AddressFamilyMatch(const Candidate& local_candidate,
+ const Candidate& remote_candidate) const;
void OnTurnRefreshError();
bool SetAlternateServer(const rtc::SocketAddress& address);

Powered by Google App Engine
This is Rietveld 408576698