Index: webrtc/p2p/base/transport.cc |
diff --git a/webrtc/p2p/base/transport.cc b/webrtc/p2p/base/transport.cc |
index 9fbe9524c3ae0b7a3115c3c85eb268a052fd0888..7bd14c4cad1b8989755c7e6eba61f7ffcaf74c37 100644 |
--- a/webrtc/p2p/base/transport.cc |
+++ b/webrtc/p2p/base/transport.cc |
@@ -321,15 +321,13 @@ bool Transport::RemoveRemoteCandidates(const std::vector<Candidate>& candidates, |
bool Transport::ApplyLocalTransportDescription(TransportChannelImpl* ch, |
std::string* error_desc) { |
- ch->SetIceCredentials(local_description_->ice_ufrag, |
- local_description_->ice_pwd); |
+ ch->SetIceParameters(local_description_->GetIceParameters()); |
return true; |
} |
bool Transport::ApplyRemoteTransportDescription(TransportChannelImpl* ch, |
std::string* error_desc) { |
- ch->SetRemoteIceCredentials(remote_description_->ice_ufrag, |
- remote_description_->ice_pwd); |
+ ch->SetRemoteIceParameters(remote_description_->GetIceParameters()); |
return true; |
} |