| 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 27 matching lines...) Expand all Loading... |
| 38 _decodedFrameCallback(&_timing, clock_), | 38 _decodedFrameCallback(&_timing, clock_), |
| 39 _frameTypeCallback(nullptr), | 39 _frameTypeCallback(nullptr), |
| 40 _receiveStatsCallback(nullptr), | 40 _receiveStatsCallback(nullptr), |
| 41 _decoderTimingCallback(nullptr), | 41 _decoderTimingCallback(nullptr), |
| 42 _packetRequestCallback(nullptr), | 42 _packetRequestCallback(nullptr), |
| 43 _decoder(nullptr), | 43 _decoder(nullptr), |
| 44 _frameFromFile(), | 44 _frameFromFile(), |
| 45 _scheduleKeyRequest(false), | 45 _scheduleKeyRequest(false), |
| 46 drop_frames_until_keyframe_(false), | 46 drop_frames_until_keyframe_(false), |
| 47 max_nack_list_size_(0), | 47 max_nack_list_size_(0), |
| 48 _codecDataBase(nullptr, nullptr), | 48 _codecDataBase(nullptr), |
| 49 pre_decode_image_callback_(pre_decode_image_callback), | 49 pre_decode_image_callback_(pre_decode_image_callback), |
| 50 _receiveStatsTimer(1000, clock_), | 50 _receiveStatsTimer(1000, clock_), |
| 51 _retransmissionTimer(10, clock_), | 51 _retransmissionTimer(10, clock_), |
| 52 _keyRequestTimer(500, clock_) {} | 52 _keyRequestTimer(500, clock_) {} |
| 53 | 53 |
| 54 VideoReceiver::~VideoReceiver() {} | 54 VideoReceiver::~VideoReceiver() {} |
| 55 | 55 |
| 56 void VideoReceiver::Process() { | 56 void VideoReceiver::Process() { |
| 57 // Receive-side statistics | 57 // Receive-side statistics |
| 58 if (_receiveStatsTimer.TimeUntilProcess() == 0) { | 58 if (_receiveStatsTimer.TimeUntilProcess() == 0) { |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 _receiver.SetNackSettings(max_nack_list_size, max_packet_age_to_nack, | 502 _receiver.SetNackSettings(max_nack_list_size, max_packet_age_to_nack, |
| 503 max_incomplete_time_ms); | 503 max_incomplete_time_ms); |
| 504 } | 504 } |
| 505 | 505 |
| 506 int VideoReceiver::SetMinReceiverDelay(int desired_delay_ms) { | 506 int VideoReceiver::SetMinReceiverDelay(int desired_delay_ms) { |
| 507 return _receiver.SetMinReceiverDelay(desired_delay_ms); | 507 return _receiver.SetMinReceiverDelay(desired_delay_ms); |
| 508 } | 508 } |
| 509 | 509 |
| 510 } // namespace vcm | 510 } // namespace vcm |
| 511 } // namespace webrtc | 511 } // namespace webrtc |
| OLD | NEW |