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

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

Issue 1362303002: Reland "Wire up send-side bandwidth estimation." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months 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
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_utility.cc ('k') | webrtc/video/end_to_end_tests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 configuration.send_side_delay_observer), 71 configuration.send_side_delay_observer),
72 rtcp_sender_(configuration.audio, 72 rtcp_sender_(configuration.audio,
73 configuration.clock, 73 configuration.clock,
74 configuration.receive_statistics, 74 configuration.receive_statistics,
75 configuration.rtcp_packet_type_counter_observer), 75 configuration.rtcp_packet_type_counter_observer),
76 rtcp_receiver_(configuration.clock, 76 rtcp_receiver_(configuration.clock,
77 configuration.receiver_only, 77 configuration.receiver_only,
78 configuration.rtcp_packet_type_counter_observer, 78 configuration.rtcp_packet_type_counter_observer,
79 configuration.bandwidth_callback, 79 configuration.bandwidth_callback,
80 configuration.intra_frame_callback, 80 configuration.intra_frame_callback,
81 configuration.transport_feedback_callback,
81 this), 82 this),
82 clock_(configuration.clock), 83 clock_(configuration.clock),
83 audio_(configuration.audio), 84 audio_(configuration.audio),
84 collision_detected_(false), 85 collision_detected_(false),
85 last_process_time_(configuration.clock->TimeInMilliseconds()), 86 last_process_time_(configuration.clock->TimeInMilliseconds()),
86 last_bitrate_process_time_(configuration.clock->TimeInMilliseconds()), 87 last_bitrate_process_time_(configuration.clock->TimeInMilliseconds()),
87 last_rtt_process_time_(configuration.clock->TimeInMilliseconds()), 88 last_rtt_process_time_(configuration.clock->TimeInMilliseconds()),
88 packet_overhead_(28), // IPV4 UDP. 89 packet_overhead_(28), // IPV4 UDP.
89 padding_index_(static_cast<size_t>(-1)), // Start padding at first child. 90 padding_index_(static_cast<size_t>(-1)), // Start padding at first child.
90 nack_method_(kNackOff), 91 nack_method_(kNackOff),
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( 989 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback(
989 StreamDataCountersCallback* callback) { 990 StreamDataCountersCallback* callback) {
990 rtp_sender_.RegisterRtpStatisticsCallback(callback); 991 rtp_sender_.RegisterRtpStatisticsCallback(callback);
991 } 992 }
992 993
993 StreamDataCountersCallback* 994 StreamDataCountersCallback*
994 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 995 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
995 return rtp_sender_.GetRtpStatisticsCallback(); 996 return rtp_sender_.GetRtpStatisticsCallback();
996 } 997 }
997 } // namespace webrtc 998 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_utility.cc ('k') | webrtc/video/end_to_end_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698