| Index: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
|
| index 2a2bf0df4b227a2ff9e02083ef4ee48324108d79..664bf3acd1a38d36e77f6610d6fed9903fcb8cae 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
|
| @@ -61,6 +61,14 @@ RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) {
|
| }
|
| }
|
|
|
| +// Deprecated.
|
| +int32_t RtpRtcp::SetFecParameters(const FecProtectionParams* delta_params,
|
| + const FecProtectionParams* key_params) {
|
| + RTC_DCHECK(delta_params);
|
| + RTC_DCHECK(key_params);
|
| + return SetFecParameters(*delta_params, *key_params) ? 0 : -1;
|
| +}
|
| +
|
| ModuleRtpRtcpImpl::ModuleRtpRtcpImpl(const Configuration& configuration)
|
| : rtp_sender_(configuration.audio,
|
| configuration.clock,
|
| @@ -794,9 +802,9 @@ void ModuleRtpRtcpImpl::SetUlpfecConfig(int red_payload_type,
|
| rtp_sender_.SetUlpfecConfig(red_payload_type, ulpfec_payload_type);
|
| }
|
|
|
| -int32_t ModuleRtpRtcpImpl::SetFecParameters(
|
| - const FecProtectionParams* delta_params,
|
| - const FecProtectionParams* key_params) {
|
| +bool ModuleRtpRtcpImpl::SetFecParameters(
|
| + const FecProtectionParams& delta_params,
|
| + const FecProtectionParams& key_params) {
|
| return rtp_sender_.SetFecParameters(delta_params, key_params);
|
| }
|
|
|
|
|