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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 voe_base->DeleteChannel(channel); | 314 voe_base->DeleteChannel(channel); |
315 voe_base->Release(); | 315 voe_base->Release(); |
316 voe_codec->Release(); | 316 voe_codec->Release(); |
317 voe_network->Release(); | 317 voe_network->Release(); |
318 voe_sync->Release(); | 318 voe_sync->Release(); |
319 | 319 |
320 DestroyStreams(); | 320 DestroyStreams(); |
321 | 321 |
322 receiver_call_->DestroyAudioReceiveStream(audio_receive_stream); | 322 receiver_call_->DestroyAudioReceiveStream(audio_receive_stream); |
323 | 323 |
| 324 DestroyCalls(); |
| 325 |
324 VoiceEngine::Delete(voice_engine); | 326 VoiceEngine::Delete(voice_engine); |
325 } | 327 } |
326 | 328 |
327 TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithAudioCreatedFirst) { | 329 TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithAudioCreatedFirst) { |
328 TestAudioVideoSync(false, true); | 330 TestAudioVideoSync(false, true); |
329 } | 331 } |
330 | 332 |
331 TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithVideoCreatedFirst) { | 333 TEST_F(CallPerfTest, PlaysOutAudioAndVideoInSyncWithVideoCreatedFirst) { |
332 TestAudioVideoSync(false, false); | 334 TestAudioVideoSync(false, false); |
333 } | 335 } |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 int encoder_inits_; | 705 int encoder_inits_; |
704 uint32_t last_set_bitrate_; | 706 uint32_t last_set_bitrate_; |
705 VideoSendStream* send_stream_; | 707 VideoSendStream* send_stream_; |
706 VideoEncoderConfig encoder_config_; | 708 VideoEncoderConfig encoder_config_; |
707 } test; | 709 } test; |
708 | 710 |
709 RunBaseTest(&test); | 711 RunBaseTest(&test); |
710 } | 712 } |
711 | 713 |
712 } // namespace webrtc | 714 } // namespace webrtc |
OLD | NEW |