Index: webrtc/api/test/peerconnectiontestwrapper.cc |
diff --git a/webrtc/api/test/peerconnectiontestwrapper.cc b/webrtc/api/test/peerconnectiontestwrapper.cc |
index 717c48af13767634c0dcf993b352e4085deeb707..40166995605ba7991283ae7f97bfe37290c1be84 100644 |
--- a/webrtc/api/test/peerconnectiontestwrapper.cc |
+++ b/webrtc/api/test/peerconnectiontestwrapper.cc |
@@ -54,7 +54,8 @@ PeerConnectionTestWrapper::PeerConnectionTestWrapper(const std::string& name, |
PeerConnectionTestWrapper::~PeerConnectionTestWrapper() {} |
bool PeerConnectionTestWrapper::CreatePc( |
- const MediaConstraintsInterface* constraints) { |
+ const MediaConstraintsInterface* constraints, |
+ const webrtc::PeerConnectionInterface::RTCConfiguration& config) { |
std::unique_ptr<cricket::PortAllocator> port_allocator( |
new cricket::FakePortAllocator(worker_thread_, nullptr)); |
@@ -70,11 +71,6 @@ bool PeerConnectionTestWrapper::CreatePc( |
return false; |
} |
- // CreatePeerConnection with RTCConfiguration. |
- webrtc::PeerConnectionInterface::RTCConfiguration config; |
- webrtc::PeerConnectionInterface::IceServer ice_server; |
- ice_server.uri = "stun:stun.l.google.com:19302"; |
- config.servers.push_back(ice_server); |
std::unique_ptr<webrtc::DtlsIdentityStoreInterface> dtls_identity_store( |
rtc::SSLStreamAdapter::HaveDtlsSrtp() ? new FakeDtlsIdentityStore() |
: nullptr); |