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

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

Issue 1648813004: Remove candidates when doing continual gathering (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 10 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/p2ptransportchannel.h
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h
index f2e93153432be261dc72083eb5a1ad948397d546..fb0afec6972eecef3cac9ed0e5fbbcafa2049eb6 100644
--- a/webrtc/p2p/base/p2ptransportchannel.h
+++ b/webrtc/p2p/base/p2ptransportchannel.h
@@ -88,6 +88,7 @@ class P2PTransportChannel : public TransportChannelImpl,
return gathering_state_;
}
void AddRemoteCandidate(const Candidate& candidate) override;
+ void RemoveRemoteCandidate(const Candidate& candidate) override;
// Sets the receiving timeout and gather_continually.
// This also sets the check_receiving_delay proportionally.
void SetIceConfig(const IceConfig& config) override;
@@ -227,6 +228,7 @@ class P2PTransportChannel : public TransportChannelImpl,
const std::string& remote_username,
bool port_muxed);
void OnPortDestroyed(PortInterface* port);
+ void OnPortNetworkInactive(PortInterface* port);
void OnRoleConflict(PortInterface* port);
void OnConnectionStateChange(Connection* connection);

Powered by Google App Engine
This is Rietveld 408576698