| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 audio_config.rtcp_send_transport = rtcp_send_transport; | 268 audio_config.rtcp_send_transport = rtcp_send_transport; |
| 269 audio_config.voe_channel_id = voe_recv_.channel_id; | 269 audio_config.voe_channel_id = voe_recv_.channel_id; |
| 270 audio_config.rtp.remote_ssrc = audio_send_config_.rtp.ssrc; | 270 audio_config.rtp.remote_ssrc = audio_send_config_.rtp.ssrc; |
| 271 audio_config.decoder_factory = decoder_factory_; | 271 audio_config.decoder_factory = decoder_factory_; |
| 272 audio_receive_configs_.push_back(audio_config); | 272 audio_receive_configs_.push_back(audio_config); |
| 273 } | 273 } |
| 274 | 274 |
| 275 // TODO(brandtr): Update this when we support multistream protection. | 275 // TODO(brandtr): Update this when we support multistream protection. |
| 276 RTC_DCHECK(num_flexfec_streams_ <= 1); | 276 RTC_DCHECK(num_flexfec_streams_ <= 1); |
| 277 if (num_flexfec_streams_ == 1) { | 277 if (num_flexfec_streams_ == 1) { |
| 278 FlexfecReceiveStream::Config config; | 278 FlexfecReceiveStream::Config config(rtcp_send_transport); |
| 279 config.payload_type = kFlexfecPayloadType; | 279 config.payload_type = kFlexfecPayloadType; |
| 280 config.remote_ssrc = kFlexfecSendSsrc; | 280 config.remote_ssrc = kFlexfecSendSsrc; |
| 281 config.protected_media_ssrcs = {kVideoSendSsrcs[0]}; | 281 config.protected_media_ssrcs = {kVideoSendSsrcs[0]}; |
| 282 flexfec_receive_configs_.push_back(config); | 282 flexfec_receive_configs_.push_back(config); |
| 283 } | 283 } |
| 284 } | 284 } |
| 285 | 285 |
| 286 void CallTest::CreateFrameGeneratorCapturerWithDrift(Clock* clock, | 286 void CallTest::CreateFrameGeneratorCapturerWithDrift(Clock* clock, |
| 287 float speed, | 287 float speed, |
| 288 int framerate, | 288 int framerate, |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 | 506 |
| 507 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { | 507 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { |
| 508 } | 508 } |
| 509 | 509 |
| 510 bool EndToEndTest::ShouldCreateReceivers() const { | 510 bool EndToEndTest::ShouldCreateReceivers() const { |
| 511 return true; | 511 return true; |
| 512 } | 512 } |
| 513 | 513 |
| 514 } // namespace test | 514 } // namespace test |
| 515 } // namespace webrtc | 515 } // namespace webrtc |
| OLD | NEW |