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 dbd919d0564c69ca97037d6b64044fbfacd33bf6..be8ab34a2771117680367ff7e1e4653ec4c3ab01 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc |
@@ -63,8 +63,7 @@ |
send_frame_count_observer(nullptr), |
send_side_delay_observer(nullptr), |
event_log(nullptr), |
- send_packet_observer(nullptr), |
- retransmission_rate_limiter(nullptr) {} |
+ send_packet_observer(nullptr) {} |
RtpRtcp* RtpRtcp::CreateRtpRtcp(const RtpRtcp::Configuration& configuration) { |
if (configuration.clock) { |
@@ -90,8 +89,7 @@ |
configuration.send_frame_count_observer, |
configuration.send_side_delay_observer, |
configuration.event_log, |
- configuration.send_packet_observer, |
- configuration.retransmission_rate_limiter), |
+ configuration.send_packet_observer), |
rtcp_sender_(configuration.audio, |
configuration.clock, |
configuration.receive_statistics, |
@@ -822,6 +820,10 @@ |
return rtp_sender_.RED(payload_type); |
} |
+void ModuleRtpRtcpImpl::SetTargetSendBitrate(uint32_t bitrate_bps) { |
+ rtp_sender_.SetTargetBitrate(bitrate_bps); |
+} |
+ |
int32_t ModuleRtpRtcpImpl::SetKeyFrameRequestMethod( |
const KeyFrameRequestMethod method) { |
key_frame_req_method_ = method; |