OLD | NEW |
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 video_send_stream_->Start(); | 139 video_send_stream_->Start(); |
140 for (VideoReceiveStream* video_recv_stream : video_receive_streams_) | 140 for (VideoReceiveStream* video_recv_stream : video_receive_streams_) |
141 video_recv_stream->Start(); | 141 video_recv_stream->Start(); |
142 if (audio_send_stream_) { | 142 if (audio_send_stream_) { |
143 audio_send_stream_->Start(); | 143 audio_send_stream_->Start(); |
144 } | 144 } |
145 for (AudioReceiveStream* audio_recv_stream : audio_receive_streams_) | 145 for (AudioReceiveStream* audio_recv_stream : audio_receive_streams_) |
146 audio_recv_stream->Start(); | 146 audio_recv_stream->Start(); |
147 for (FlexfecReceiveStream* flexfec_recv_stream : flexfec_receive_streams_) | 147 for (FlexfecReceiveStream* flexfec_recv_stream : flexfec_receive_streams_) |
148 flexfec_recv_stream->Start(); | 148 flexfec_recv_stream->Start(); |
149 if (frame_generator_capturer_.get() != NULL) | 149 if (frame_generator_capturer_.get() != nullptr) |
150 frame_generator_capturer_->Start(); | 150 frame_generator_capturer_->Start(); |
151 } | 151 } |
152 | 152 |
153 void CallTest::Stop() { | 153 void CallTest::Stop() { |
154 if (frame_generator_capturer_.get() != NULL) | 154 if (frame_generator_capturer_.get() != nullptr) |
155 frame_generator_capturer_->Stop(); | 155 frame_generator_capturer_->Stop(); |
156 for (FlexfecReceiveStream* flexfec_recv_stream : flexfec_receive_streams_) | 156 for (FlexfecReceiveStream* flexfec_recv_stream : flexfec_receive_streams_) |
157 flexfec_recv_stream->Stop(); | 157 flexfec_recv_stream->Stop(); |
158 for (AudioReceiveStream* audio_recv_stream : audio_receive_streams_) | 158 for (AudioReceiveStream* audio_recv_stream : audio_receive_streams_) |
159 audio_recv_stream->Stop(); | 159 audio_recv_stream->Stop(); |
160 if (audio_send_stream_) { | 160 if (audio_send_stream_) { |
161 audio_send_stream_->Stop(); | 161 audio_send_stream_->Stop(); |
162 } | 162 } |
163 for (VideoReceiveStream* video_recv_stream : video_receive_streams_) | 163 for (VideoReceiveStream* video_recv_stream : video_receive_streams_) |
164 video_recv_stream->Stop(); | 164 video_recv_stream->Stop(); |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 | 495 |
496 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { | 496 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { |
497 } | 497 } |
498 | 498 |
499 bool EndToEndTest::ShouldCreateReceivers() const { | 499 bool EndToEndTest::ShouldCreateReceivers() const { |
500 return true; | 500 return true; |
501 } | 501 } |
502 | 502 |
503 } // namespace test | 503 } // namespace test |
504 } // namespace webrtc | 504 } // namespace webrtc |
OLD | NEW |