Revert "Added OnIceCandidateError to API and implementation"
This reverts commit 9469c784dbf732472e3b2a60a5fcca0a2f432313. Reason for revert: Breaks downstream projects. Original change's description: > Added OnIceCandidateError to API and implementation > > Bug: webrtc:3098 > Change-Id: I27ffd015ebf9e8130c1288f7331b0e2fdafb01ef > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/135953 > Commit-Queue: Steve Anton <steveanton@webrtc.org> > Reviewed-by: Amit Hilbuch <amithi@webrtc.org> > Reviewed-by: Qingsi Wang <qingsi@webrtc.org> > Reviewed-by: Henrik Boström <hbos@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#28173} TBR=steveanton@webrtc.org,hbos@webrtc.org,qingsi@webrtc.org,amithi@webrtc.org,elrello@microsoft.com Change-Id: I3d77242ca3556cb491f523c238fbc7d3e294839b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:3098 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/140620 Reviewed-by: Yves Gerey <yvesg@google.com> Commit-Queue: Yves Gerey <yvesg@google.com> Cr-Commit-Position: refs/heads/master@{#28177}
This commit is contained in:
@ -1172,14 +1172,6 @@ class PeerConnectionObserver {
|
||||
// A new ICE candidate has been gathered.
|
||||
virtual void OnIceCandidate(const IceCandidateInterface* candidate) = 0;
|
||||
|
||||
// Gathering of an ICE candidate failed.
|
||||
// See https://w3c.github.io/webrtc-pc/#event-icecandidateerror
|
||||
// |host_candidate| is a stringified socket address.
|
||||
virtual void OnIceCandidateError(const std::string& host_candidate,
|
||||
const std::string& url,
|
||||
int error_code,
|
||||
const std::string& error_text) {}
|
||||
|
||||
// Ice candidates have been removed.
|
||||
// TODO(honghaiz): Make this a pure virtual method when all its subclasses
|
||||
// implement it.
|
||||
|
Reference in New Issue
Block a user