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

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

Issue 2639423007: Drop pacer and retransmission_rate_limiter from RtpStreamReceiver constructor. (Closed)
Patch Set: Rebased. Created 3 years, 11 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/video/rtp_stream_receiver.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 10
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 call_stats_(call_stats), 205 call_stats_(call_stats),
206 timing_(new VCMTiming(clock_)), 206 timing_(new VCMTiming(clock_)),
207 video_receiver_(clock_, nullptr, this, timing_.get(), this, this), 207 video_receiver_(clock_, nullptr, this, timing_.get(), this, this),
208 stats_proxy_(&config_, clock_), 208 stats_proxy_(&config_, clock_),
209 rtp_stream_receiver_( 209 rtp_stream_receiver_(
210 &video_receiver_, 210 &video_receiver_,
211 congestion_controller_->GetRemoteBitrateEstimator( 211 congestion_controller_->GetRemoteBitrateEstimator(
212 UseSendSideBwe(config_)), 212 UseSendSideBwe(config_)),
213 &transport_adapter_, 213 &transport_adapter_,
214 call_stats_->rtcp_rtt_stats(), 214 call_stats_->rtcp_rtt_stats(),
215 congestion_controller_->pacer(),
216 packet_router, 215 packet_router,
217 remb, 216 remb,
218 &config_, 217 &config_,
219 &stats_proxy_, 218 &stats_proxy_,
220 process_thread_, 219 process_thread_,
221 congestion_controller_->GetRetransmissionRateLimiter(),
222 this, // NackSender 220 this, // NackSender
223 this, // KeyFrameRequestSender 221 this, // KeyFrameRequestSender
224 this, // OnCompleteFrameCallback 222 this, // OnCompleteFrameCallback
225 timing_.get()), 223 timing_.get()),
226 rtp_stream_sync_(&video_receiver_, &rtp_stream_receiver_), 224 rtp_stream_sync_(&video_receiver_, &rtp_stream_receiver_),
227 jitter_buffer_experiment_( 225 jitter_buffer_experiment_(
228 field_trial::FindFullName("WebRTC-NewVideoJitterBuffer") == 226 field_trial::FindFullName("WebRTC-NewVideoJitterBuffer") ==
229 "Enabled") { 227 "Enabled") {
230 LOG(LS_INFO) << "VideoReceiveStream: " << config_.ToString(); 228 LOG(LS_INFO) << "VideoReceiveStream: " << config_.ToString();
231 229
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 RequestKeyFrame(); 485 RequestKeyFrame();
488 } 486 }
489 } 487 }
490 488
491 void VideoReceiveStream::RequestKeyFrame() { 489 void VideoReceiveStream::RequestKeyFrame() {
492 rtp_stream_receiver_.RequestKeyFrame(); 490 rtp_stream_receiver_.RequestKeyFrame();
493 } 491 }
494 492
495 } // namespace internal 493 } // namespace internal
496 } // namespace webrtc 494 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/rtp_stream_receiver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698