Index: talk/examples/peerconnection/client/conductor.cc |
diff --git a/talk/examples/peerconnection/client/conductor.cc b/talk/examples/peerconnection/client/conductor.cc |
index f30516fc74bb3a6799799412313198bb91fbbfb3..2ffda1519dcbbbc5ac7e8a953dbea9a6c4bbdf6f 100644 |
--- a/talk/examples/peerconnection/client/conductor.cc |
+++ b/talk/examples/peerconnection/client/conductor.cc |
@@ -303,7 +303,7 @@ void Conductor::OnMessageFromPeer(int peer_id, const std::string& message) { |
return; |
} |
webrtc::SessionDescriptionInterface* session_description( |
- webrtc::CreateSessionDescription(type, sdp)); |
+ webrtc::CreateSessionDescription(type, sdp, nullptr)); |
pthatcher1
2015/07/16 04:41:31
Can you introduce a local variable to give the val
joachim
2015/07/16 08:12:00
Done, also changed to log the error description.
|
if (!session_description) { |
LOG(WARNING) << "Can't parse received session description message."; |
return; |
@@ -329,7 +329,7 @@ void Conductor::OnMessageFromPeer(int peer_id, const std::string& message) { |
return; |
} |
rtc::scoped_ptr<webrtc::IceCandidateInterface> candidate( |
- webrtc::CreateIceCandidate(sdp_mid, sdp_mlineindex, sdp)); |
+ webrtc::CreateIceCandidate(sdp_mid, sdp_mlineindex, sdp, nullptr)); |
if (!candidate.get()) { |
LOG(WARNING) << "Can't parse received candidate message."; |
return; |
@@ -536,7 +536,7 @@ void Conductor::OnSuccess(webrtc::SessionDescriptionInterface* desc) { |
if (loopback_) { |
// Replace message type from "offer" to "answer" |
webrtc::SessionDescriptionInterface* session_description( |
- webrtc::CreateSessionDescription("answer", sdp)); |
+ webrtc::CreateSessionDescription("answer", sdp, nullptr)); |
peer_connection_->SetRemoteDescription( |
DummySetSessionDescriptionObserver::Create(), session_description); |
return; |