Index: talk/app/webrtc/webrtcsession.h |
diff --git a/talk/app/webrtc/webrtcsession.h b/talk/app/webrtc/webrtcsession.h |
index cd3f8967261232faee479eb26d370907b23566e9..dda3fcd1580a8617b71399d0316ccefa23992f87 100644 |
--- a/talk/app/webrtc/webrtcsession.h |
+++ b/talk/app/webrtc/webrtcsession.h |
@@ -399,8 +399,12 @@ class WebRtcSession : public AudioProviderInterface, |
// Uses all remote candidates in |remote_desc| in this session. |
bool UseCandidatesInSessionDescription( |
const SessionDescriptionInterface* remote_desc); |
- // Uses |candidate| in this session. |
- bool UseCandidate(const IceCandidateInterface* candidate); |
+ // Adds a remote candidate to this session. |
+ bool AddRemoteCandidate(const IceCandidateInterface* candidate); |
+ // Removes a remote candidate from this session. |
+ bool RemoveRemoteCandidate(const IceCandidateInterface* candidate); |
+ const cricket::ContentInfo* GetRemoteMediaContent( |
+ const IceCandidateInterface* candidate) const; |
// Deletes the corresponding channel of contents that don't exist in |desc|. |
// |desc| can be null. This means that all channels are deleted. |
void RemoveUnusedChannels(const cricket::SessionDescription* desc); |
@@ -454,6 +458,9 @@ class WebRtcSession : public AudioProviderInterface, |
void OnTransportControllerCandidatesGathered( |
const std::string& transport_name, |
const cricket::Candidates& candidates); |
+ void OnTransportControllerCandidatesRemoved( |
+ const std::string& transport_name, |
+ const cricket::Candidates& candidates); |
std::string GetSessionErrorMsg(); |