| 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 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1207 receive_config.rtp.local_ssrc = test::CallTest::kReceiverLocalVideoSsrc; | 1207 receive_config.rtp.local_ssrc = test::CallTest::kReceiverLocalVideoSsrc; |
| 1208 VideoReceiveStream::Decoder decoder = | 1208 VideoReceiveStream::Decoder decoder = |
| 1209 test::CreateMatchingDecoder(send_config.encoder_settings); | 1209 test::CreateMatchingDecoder(send_config.encoder_settings); |
| 1210 allocated_decoders.push_back( | 1210 allocated_decoders.push_back( |
| 1211 std::unique_ptr<VideoDecoder>(decoder.decoder)); | 1211 std::unique_ptr<VideoDecoder>(decoder.decoder)); |
| 1212 receive_config.decoders.push_back(decoder); | 1212 receive_config.decoders.push_back(decoder); |
| 1213 | 1213 |
| 1214 UpdateReceiveConfig(i, &receive_config); | 1214 UpdateReceiveConfig(i, &receive_config); |
| 1215 | 1215 |
| 1216 receive_streams[i] = | 1216 receive_streams[i] = |
| 1217 receiver_call->CreateVideoReceiveStream(receive_config); | 1217 receiver_call->CreateVideoReceiveStream(std::move(receive_config)); |
| 1218 receive_streams[i]->Start(); | 1218 receive_streams[i]->Start(); |
| 1219 | 1219 |
| 1220 frame_generators[i] = test::FrameGeneratorCapturer::Create( | 1220 frame_generators[i] = test::FrameGeneratorCapturer::Create( |
| 1221 send_streams[i]->Input(), width, height, 30, | 1221 send_streams[i]->Input(), width, height, 30, |
| 1222 Clock::GetRealTimeClock()); | 1222 Clock::GetRealTimeClock()); |
| 1223 frame_generators[i]->Start(); | 1223 frame_generators[i]->Start(); |
| 1224 } | 1224 } |
| 1225 | 1225 |
| 1226 Wait(); | 1226 Wait(); |
| 1227 | 1227 |
| (...skipping 2312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3540 private: | 3540 private: |
| 3541 bool video_observed_; | 3541 bool video_observed_; |
| 3542 bool audio_observed_; | 3542 bool audio_observed_; |
| 3543 SequenceNumberUnwrapper unwrapper_; | 3543 SequenceNumberUnwrapper unwrapper_; |
| 3544 std::set<int64_t> received_packet_ids_; | 3544 std::set<int64_t> received_packet_ids_; |
| 3545 } test; | 3545 } test; |
| 3546 | 3546 |
| 3547 RunBaseTest(&test); | 3547 RunBaseTest(&test); |
| 3548 } | 3548 } |
| 3549 } // namespace webrtc | 3549 } // namespace webrtc |
| OLD | NEW |