Index: webrtc/pc/peerconnection.h |
diff --git a/webrtc/pc/peerconnection.h b/webrtc/pc/peerconnection.h |
index 2aa634c7002703b61bdd78621fe057034c287145..02f56f6c68a3e6dfe64cc6cb24986340e7ee3636 100644 |
--- a/webrtc/pc/peerconnection.h |
+++ b/webrtc/pc/peerconnection.h |
@@ -17,6 +17,7 @@ |
#include <vector> |
#include "webrtc/api/peerconnectioninterface.h" |
+#include "webrtc/pc/iceserverparsing.h" |
#include "webrtc/pc/peerconnectionfactory.h" |
#include "webrtc/pc/rtcstatscollector.h" |
#include "webrtc/pc/rtpreceiver.h" |
@@ -53,14 +54,6 @@ bool ExtractMediaSessionOptions( |
bool ParseConstraintsForAnswer(const MediaConstraintsInterface* constraints, |
cricket::MediaSessionOptions* session_options); |
-// Parses the URLs for each server in |servers| to build |stun_servers| and |
-// |turn_servers|. Can return SYNTAX_ERROR if the URL is malformed, or |
-// INVALID_PARAMETER if a TURN server is missing |username| or |password|. |
-RTCErrorType ParseIceServers( |
- const PeerConnectionInterface::IceServers& servers, |
- cricket::ServerAddresses* stun_servers, |
- std::vector<cricket::RelayServerConfig>* turn_servers); |
- |
// PeerConnection implements the PeerConnectionInterface interface. |
// It uses WebRtcSession to implement the PeerConnection functionality. |
class PeerConnection : public PeerConnectionInterface, |