Index: talk/app/webrtc/peerconnection.h |
diff --git a/talk/app/webrtc/peerconnection.h b/talk/app/webrtc/peerconnection.h |
index e996132df0472cda1cbd0a3d93b687df7164de35..8a8701931acf69a53ed4da98f59270058d534048 100644 |
--- a/talk/app/webrtc/peerconnection.h |
+++ b/talk/app/webrtc/peerconnection.h |
@@ -48,6 +48,12 @@ typedef std::vector<PortAllocatorFactoryInterface::StunConfiguration> |
typedef std::vector<PortAllocatorFactoryInterface::TurnConfiguration> |
TurnConfigurations; |
+// Parses the URLs for each server in |servers| to build |stun_config| and |
+// |turn_config|. |
+bool ParseIceServers(const PeerConnectionInterface::IceServers& servers, |
+ StunConfigurations* stun_config, |
+ TurnConfigurations* turn_config); |
+ |
// PeerConnection implements the PeerConnectionInterface interface. |
// It uses MediaStreamSignaling and WebRtcSession to implement |
// the PeerConnection functionality. |