| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 process_thread_(process_thread), | 155 process_thread_(process_thread), |
| 156 clock_(Clock::GetRealTimeClock()), | 156 clock_(Clock::GetRealTimeClock()), |
| 157 decode_thread_(DecodeThreadFunction, this, "DecodingThread"), | 157 decode_thread_(DecodeThreadFunction, this, "DecodingThread"), |
| 158 congestion_controller_(congestion_controller), | 158 congestion_controller_(congestion_controller), |
| 159 call_stats_(call_stats), | 159 call_stats_(call_stats), |
| 160 remb_(remb), | 160 remb_(remb), |
| 161 vcm_(VideoCodingModule::Create(clock_, nullptr, nullptr)), | 161 vcm_(VideoCodingModule::Create(clock_, nullptr, nullptr)), |
| 162 incoming_video_stream_( | 162 incoming_video_stream_( |
| 163 0, | 163 0, |
| 164 config.renderer ? config.renderer->SmoothsRenderedFrames() : false), | 164 config.renderer ? config.renderer->SmoothsRenderedFrames() : false), |
| 165 stats_proxy_(config_.rtp.remote_ssrc, clock_), | 165 stats_proxy_(config_, clock_), |
| 166 vie_channel_(&transport_adapter_, | 166 vie_channel_(&transport_adapter_, |
| 167 process_thread, | 167 process_thread, |
| 168 nullptr, | 168 nullptr, |
| 169 vcm_.get(), | 169 vcm_.get(), |
| 170 nullptr, | 170 nullptr, |
| 171 nullptr, | 171 nullptr, |
| 172 nullptr, | 172 nullptr, |
| 173 congestion_controller_->GetRemoteBitrateEstimator( | 173 congestion_controller_->GetRemoteBitrateEstimator( |
| 174 UseSendSideBwe(config_)), | 174 UseSendSideBwe(config_)), |
| 175 call_stats_->rtcp_rtt_stats(), | 175 call_stats_->rtcp_rtt_stats(), |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 return true; | 428 return true; |
| 429 } | 429 } |
| 430 | 430 |
| 431 void VideoReceiveStream::Decode() { | 431 void VideoReceiveStream::Decode() { |
| 432 static const int kMaxDecodeWaitTimeMs = 50; | 432 static const int kMaxDecodeWaitTimeMs = 50; |
| 433 vcm_->Decode(kMaxDecodeWaitTimeMs); | 433 vcm_->Decode(kMaxDecodeWaitTimeMs); |
| 434 } | 434 } |
| 435 | 435 |
| 436 } // namespace internal | 436 } // namespace internal |
| 437 } // namespace webrtc | 437 } // namespace webrtc |
| OLD | NEW |