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

Side by Side Diff: webrtc/test/call_test.cc

Issue 2734753004: Revert of Added large room scenario to full-stack tests. Added thumbnail streams functionality to call test/v… (Closed)
Patch Set: Created 3 years, 9 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/test/call_test.h ('k') | webrtc/video/full_stack_tests.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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 void CallTest::DestroyStreams() { 340 void CallTest::DestroyStreams() {
341 if (audio_send_stream_) 341 if (audio_send_stream_)
342 sender_call_->DestroyAudioSendStream(audio_send_stream_); 342 sender_call_->DestroyAudioSendStream(audio_send_stream_);
343 audio_send_stream_ = nullptr; 343 audio_send_stream_ = nullptr;
344 for (AudioReceiveStream* audio_recv_stream : audio_receive_streams_) 344 for (AudioReceiveStream* audio_recv_stream : audio_receive_streams_)
345 receiver_call_->DestroyAudioReceiveStream(audio_recv_stream); 345 receiver_call_->DestroyAudioReceiveStream(audio_recv_stream);
346 346
347 if (video_send_stream_) 347 if (video_send_stream_)
348 sender_call_->DestroyVideoSendStream(video_send_stream_); 348 sender_call_->DestroyVideoSendStream(video_send_stream_);
349 video_send_stream_ = nullptr; 349 video_send_stream_ = nullptr;
350
351 for (VideoReceiveStream* video_recv_stream : video_receive_streams_) 350 for (VideoReceiveStream* video_recv_stream : video_receive_streams_)
352 receiver_call_->DestroyVideoReceiveStream(video_recv_stream); 351 receiver_call_->DestroyVideoReceiveStream(video_recv_stream);
353 352
354 for (FlexfecReceiveStream* flexfec_recv_stream : flexfec_receive_streams_) 353 for (FlexfecReceiveStream* flexfec_recv_stream : flexfec_receive_streams_)
355 receiver_call_->DestroyFlexfecReceiveStream(flexfec_recv_stream); 354 receiver_call_->DestroyFlexfecReceiveStream(flexfec_recv_stream);
356 355
357 video_receive_streams_.clear(); 356 video_receive_streams_.clear();
358 allocated_decoders_.clear(); 357 allocated_decoders_.clear();
359 } 358 }
360 359
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 495
497 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { 496 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) {
498 } 497 }
499 498
500 bool EndToEndTest::ShouldCreateReceivers() const { 499 bool EndToEndTest::ShouldCreateReceivers() const {
501 return true; 500 return true;
502 } 501 }
503 502
504 } // namespace test 503 } // namespace test
505 } // namespace webrtc 504 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/call_test.h ('k') | webrtc/video/full_stack_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698