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

Side by Side Diff: webrtc/video/video_send_stream.cc

Issue 2725823002: Move delay_based_bwe_ into CongestionController (Closed)
Patch Set: UT thread-checking. Created 3 years, 9 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/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #include "webrtc/video/video_send_stream.h" 10 #include "webrtc/video/video_send_stream.h"
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 encoder_feedback_(Clock::GetRealTimeClock(), 782 encoder_feedback_(Clock::GetRealTimeClock(),
783 config_->rtp.ssrcs, 783 config_->rtp.ssrcs,
784 vie_encoder), 784 vie_encoder),
785 protection_bitrate_calculator_(Clock::GetRealTimeClock(), this), 785 protection_bitrate_calculator_(Clock::GetRealTimeClock(), this),
786 bandwidth_observer_(congestion_controller_->GetBitrateController() 786 bandwidth_observer_(congestion_controller_->GetBitrateController()
787 ->CreateRtcpBandwidthObserver()), 787 ->CreateRtcpBandwidthObserver()),
788 rtp_rtcp_modules_(CreateRtpRtcpModules( 788 rtp_rtcp_modules_(CreateRtpRtcpModules(
789 config_->send_transport, 789 config_->send_transport,
790 &encoder_feedback_, 790 &encoder_feedback_,
791 bandwidth_observer_.get(), 791 bandwidth_observer_.get(),
792 congestion_controller_->GetTransportFeedbackObserver(), 792 congestion_controller_,
793 call_stats_->rtcp_rtt_stats(), 793 call_stats_->rtcp_rtt_stats(),
794 congestion_controller_->pacer(), 794 congestion_controller_->pacer(),
795 packet_router_, 795 packet_router_,
796 flexfec_sender_.get(), 796 flexfec_sender_.get(),
797 stats_proxy_, 797 stats_proxy_,
798 send_delay_stats, 798 send_delay_stats,
799 event_log, 799 event_log,
800 congestion_controller_->GetRetransmissionRateLimiter(), 800 congestion_controller_->GetRetransmissionRateLimiter(),
801 this, 801 this,
802 config_->rtp.ssrcs.size())), 802 config_->rtp.ssrcs.size())),
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 std::min(config_->rtp.max_packet_size, 1338 std::min(config_->rtp.max_packet_size,
1339 kPathMTU - transport_overhead_bytes_per_packet_); 1339 kPathMTU - transport_overhead_bytes_per_packet_);
1340 1340
1341 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) { 1341 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) {
1342 rtp_rtcp->SetMaxRtpPacketSize(rtp_packet_size); 1342 rtp_rtcp->SetMaxRtpPacketSize(rtp_packet_size);
1343 } 1343 }
1344 } 1344 }
1345 1345
1346 } // namespace internal 1346 } // namespace internal
1347 } // namespace webrtc 1347 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698