Index: talk/app/webrtc/webrtcsession.cc |
diff --git a/talk/app/webrtc/webrtcsession.cc b/talk/app/webrtc/webrtcsession.cc |
index ec0456f7cb9f1f8743dabc4794f181353369f439..1e6c0a641178bf446cd138fd584c514360293009 100644 |
--- a/talk/app/webrtc/webrtcsession.cc |
+++ b/talk/app/webrtc/webrtcsession.cc |
@@ -763,14 +763,15 @@ cricket::SecurePolicy WebRtcSession::SdesPolicy() const { |
return webrtc_session_desc_factory_->SdesPolicy(); |
} |
-bool WebRtcSession::GetSslRole(rtc::SSLRole* role) { |
+bool WebRtcSession::GetSslRole(const std::string& transport_name, |
+ rtc::SSLRole* role) { |
if (!local_desc_ || !remote_desc_) { |
LOG(LS_INFO) << "Local and Remote descriptions must be applied to get " |
<< "SSL Role of the session."; |
return false; |
} |
- return transport_controller_->GetSslRole(role); |
+ return transport_controller_->GetSslRole(transport_name, role); |
} |
void WebRtcSession::CreateOffer( |