OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |