Index: webrtc/ortc/rtptransportcontrolleradapter.cc |
diff --git a/webrtc/ortc/rtptransportcontrolleradapter.cc b/webrtc/ortc/rtptransportcontrolleradapter.cc |
index 5e0b62112357ba849fec33d5e3428e1e5c235932..ed4521499cc50e26f025b7ba715670b5c83a8fb2 100644 |
--- a/webrtc/ortc/rtptransportcontrolleradapter.cc |
+++ b/webrtc/ortc/rtptransportcontrolleradapter.cc |
@@ -252,6 +252,15 @@ RTCError RtpTransportControllerAdapter::SetRtcpParameters( |
"Failed to apply new RTCP parameters."); |
} |
+RTCError RtpTransportControllerAdapter::SetRtpTransportParameters( |
+ const RtpTransportParameters& parameters) { |
+ if (!call_->SetRtpKeepAliveConfig(parameters.keepalive)) { |
+ LOG_AND_RETURN_ERROR(RTCErrorType::INTERNAL_ERROR, |
+ "Failed to apply new RTP transport parameters."); |
+ } |
+ return RTCError::OK(); |
+} |
+ |
RTCError RtpTransportControllerAdapter::ValidateAndApplyAudioSenderParameters( |
const RtpParameters& parameters, |
uint32_t* primary_ssrc) { |