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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 CallStats* call_stats, | 196 CallStats* call_stats, |
197 VieRemb* remb) | 197 VieRemb* remb) |
198 : transport_adapter_(config.rtcp_send_transport), | 198 : transport_adapter_(config.rtcp_send_transport), |
199 config_(std::move(config)), | 199 config_(std::move(config)), |
200 num_cpu_cores_(num_cpu_cores), | 200 num_cpu_cores_(num_cpu_cores), |
201 process_thread_(process_thread), | 201 process_thread_(process_thread), |
202 clock_(Clock::GetRealTimeClock()), | 202 clock_(Clock::GetRealTimeClock()), |
203 decode_thread_(DecodeThreadFunction, this, "DecodingThread"), | 203 decode_thread_(DecodeThreadFunction, this, "DecodingThread"), |
204 congestion_controller_(congestion_controller), | 204 congestion_controller_(congestion_controller), |
205 call_stats_(call_stats), | 205 call_stats_(call_stats), |
206 video_receiver_(clock_, nullptr, this, this, this), | 206 timing_(new VCMTiming(clock_)), |
| 207 video_receiver_(clock_, nullptr, this, timing_.get(), this, this), |
207 stats_proxy_(&config_, clock_), | 208 stats_proxy_(&config_, clock_), |
208 timing_(new VCMTiming(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(), | 215 congestion_controller_->pacer(), |
216 packet_router, | 216 packet_router, |
217 remb, | 217 remb, |
218 &config_, | 218 &config_, |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 RequestKeyFrame(); | 486 RequestKeyFrame(); |
487 } | 487 } |
488 } | 488 } |
489 | 489 |
490 void VideoReceiveStream::RequestKeyFrame() { | 490 void VideoReceiveStream::RequestKeyFrame() { |
491 rtp_stream_receiver_.RequestKeyFrame(); | 491 rtp_stream_receiver_.RequestKeyFrame(); |
492 } | 492 } |
493 | 493 |
494 } // namespace internal | 494 } // namespace internal |
495 } // namespace webrtc | 495 } // namespace webrtc |
OLD | NEW |