Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc

Issue 2540363003: Wire up rtcp xr target bitrate on receive side. (Closed)
Patch Set: Actual fuzzer fix Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 configuration.receive_statistics, 89 configuration.receive_statistics,
90 configuration.rtcp_packet_type_counter_observer, 90 configuration.rtcp_packet_type_counter_observer,
91 configuration.event_log, 91 configuration.event_log,
92 configuration.outgoing_transport), 92 configuration.outgoing_transport),
93 rtcp_receiver_(configuration.clock, 93 rtcp_receiver_(configuration.clock,
94 configuration.receiver_only, 94 configuration.receiver_only,
95 configuration.rtcp_packet_type_counter_observer, 95 configuration.rtcp_packet_type_counter_observer,
96 configuration.bandwidth_callback, 96 configuration.bandwidth_callback,
97 configuration.intra_frame_callback, 97 configuration.intra_frame_callback,
98 configuration.transport_feedback_callback, 98 configuration.transport_feedback_callback,
99 configuration.bitrate_allocation_observer,
99 this), 100 this),
100 clock_(configuration.clock), 101 clock_(configuration.clock),
101 audio_(configuration.audio), 102 audio_(configuration.audio),
102 collision_detected_(false), 103 collision_detected_(false),
103 last_process_time_(configuration.clock->TimeInMilliseconds()), 104 last_process_time_(configuration.clock->TimeInMilliseconds()),
104 last_bitrate_process_time_(configuration.clock->TimeInMilliseconds()), 105 last_bitrate_process_time_(configuration.clock->TimeInMilliseconds()),
105 last_rtt_process_time_(configuration.clock->TimeInMilliseconds()), 106 last_rtt_process_time_(configuration.clock->TimeInMilliseconds()),
106 packet_overhead_(28), // IPV4 UDP. 107 packet_overhead_(28), // IPV4 UDP.
107 nack_last_time_sent_full_(0), 108 nack_last_time_sent_full_(0),
108 nack_last_time_sent_full_prev_(0), 109 nack_last_time_sent_full_prev_(0),
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 StreamDataCountersCallback* 953 StreamDataCountersCallback*
953 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 954 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
954 return rtp_sender_.GetRtpStatisticsCallback(); 955 return rtp_sender_.GetRtpStatisticsCallback();
955 } 956 }
956 957
957 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation( 958 void ModuleRtpRtcpImpl::SetVideoBitrateAllocation(
958 const BitrateAllocation& bitrate) { 959 const BitrateAllocation& bitrate) {
959 rtcp_sender_.SetVideoBitrateAllocation(bitrate); 960 rtcp_sender_.SetVideoBitrateAllocation(bitrate);
960 } 961 }
961 } // namespace webrtc 962 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_sender.cc ('k') | webrtc/test/fuzzers/rtcp_receiver_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698