| 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 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 voe_base->Release(); | 376 voe_base->Release(); |
| 377 voe_codec->Release(); | 377 voe_codec->Release(); |
| 378 voe_network->Release(); | 378 voe_network->Release(); |
| 379 voe_sync->Release(); | 379 voe_sync->Release(); |
| 380 | 380 |
| 381 DestroyCalls(); | 381 DestroyCalls(); |
| 382 | 382 |
| 383 VoiceEngine::Delete(voice_engine); | 383 VoiceEngine::Delete(voice_engine); |
| 384 } | 384 } |
| 385 | 385 |
| 386 // TODO(danilchap): Reenable after adding support for frame capture clock | 386 TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithVideoNtpDrift) { |
| 387 // that is not in sync with local TickTime clock. | |
| 388 TEST_F(CallPerfTest, DISABLED_PlaysOutAudioAndVideoInSyncWithVideoNtpDrift) { | |
| 389 TestAudioVideoSync(FecMode::kOff, CreateOrder::kAudioFirst, | 387 TestAudioVideoSync(FecMode::kOff, CreateOrder::kAudioFirst, |
| 390 DriftingClock::PercentsFaster(10.0f), | 388 DriftingClock::PercentsFaster(10.0f), |
| 391 DriftingClock::kNoDrift, DriftingClock::kNoDrift); | 389 DriftingClock::kNoDrift, DriftingClock::kNoDrift); |
| 392 } | 390 } |
| 393 | 391 |
| 394 TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithAudioFasterThanVideoDrift) { | 392 TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithAudioFasterThanVideoDrift) { |
| 395 TestAudioVideoSync(FecMode::kOff, CreateOrder::kAudioFirst, | 393 TestAudioVideoSync(FecMode::kOff, CreateOrder::kAudioFirst, |
| 396 DriftingClock::kNoDrift, | 394 DriftingClock::kNoDrift, |
| 397 DriftingClock::PercentsSlower(30.0f), | 395 DriftingClock::PercentsSlower(30.0f), |
| 398 DriftingClock::PercentsFaster(30.0f)); | 396 DriftingClock::PercentsFaster(30.0f)); |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 int encoder_inits_; | 776 int encoder_inits_; |
| 779 uint32_t last_set_bitrate_; | 777 uint32_t last_set_bitrate_; |
| 780 VideoSendStream* send_stream_; | 778 VideoSendStream* send_stream_; |
| 781 VideoEncoderConfig encoder_config_; | 779 VideoEncoderConfig encoder_config_; |
| 782 } test; | 780 } test; |
| 783 | 781 |
| 784 RunBaseTest(&test); | 782 RunBaseTest(&test); |
| 785 } | 783 } |
| 786 | 784 |
| 787 } // namespace webrtc | 785 } // namespace webrtc |
| OLD | NEW |