Index: webrtc/api/jsep.h |
diff --git a/webrtc/api/jsep.h b/webrtc/api/jsep.h |
index d19ae3c7d0a5d9c3db1872de5be403a7ff6b7bed..5ebf7c19d089b5582e90d6c827932ea370ccf8dd 100644 |
--- a/webrtc/api/jsep.h |
+++ b/webrtc/api/jsep.h |
@@ -59,6 +59,10 @@ class IceCandidateInterface { |
virtual int sdp_mline_index() const = 0; |
// Only for use internally. |
virtual const cricket::Candidate& candidate() const = 0; |
+ // The URL of the ICE server which this candidate was gathered from. |
+ // TODO(zhihuang): Remove the default implementation once the subclasses |
+ // implement this method. |
+ virtual std::string server_url() const { return ""; } |
// Creates a SDP-ized form of this candidate. |
virtual bool ToString(std::string* out) const = 0; |
}; |