Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: webrtc/call/call_perf_tests.cc

Issue 1390753002: Implement AudioReceiveStream::GetStats(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: merge master Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/call/call_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/call/call_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698