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> // max | 10 #include <algorithm> // max |
(...skipping 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1513 call_ = sender_call; | 1513 call_ = sender_call; |
1514 } | 1514 } |
1515 | 1515 |
1516 void ModifyVideoConfigs( | 1516 void ModifyVideoConfigs( |
1517 VideoSendStream::Config* send_config, | 1517 VideoSendStream::Config* send_config, |
1518 std::vector<VideoReceiveStream::Config>* receive_configs, | 1518 std::vector<VideoReceiveStream::Config>* receive_configs, |
1519 VideoEncoderConfig* encoder_config) override { | 1519 VideoEncoderConfig* encoder_config) override { |
1520 send_config->rtp.extensions.clear(); | 1520 send_config->rtp.extensions.clear(); |
1521 send_config->rtp.extensions.push_back(RtpExtension( | 1521 send_config->rtp.extensions.push_back(RtpExtension( |
1522 RtpExtension::kTransportSequenceNumberUri, kExtensionId)); | 1522 RtpExtension::kTransportSequenceNumberUri, kExtensionId)); |
| 1523 #if 0 |
1523 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; | 1524 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; |
| 1525 #endif |
1524 (*receive_configs)[0].rtp.transport_cc = true; | 1526 (*receive_configs)[0].rtp.transport_cc = true; |
1525 } | 1527 } |
1526 | 1528 |
1527 void ModifyAudioConfigs( | 1529 void ModifyAudioConfigs( |
1528 AudioSendStream::Config* send_config, | 1530 AudioSendStream::Config* send_config, |
1529 std::vector<AudioReceiveStream::Config>* receive_configs) override { | 1531 std::vector<AudioReceiveStream::Config>* receive_configs) override { |
1530 send_config->rtp.extensions.clear(); | 1532 send_config->rtp.extensions.clear(); |
1531 send_config->rtp.extensions.push_back(RtpExtension( | 1533 send_config->rtp.extensions.push_back(RtpExtension( |
1532 RtpExtension::kTransportSequenceNumberUri, kExtensionId)); | 1534 RtpExtension::kTransportSequenceNumberUri, kExtensionId)); |
1533 (*receive_configs)[0].rtp.extensions.clear(); | 1535 (*receive_configs)[0].rtp.extensions.clear(); |
(...skipping 1970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3504 capturer_ = frame_generator_capturer; | 3506 capturer_ = frame_generator_capturer; |
3505 } | 3507 } |
3506 | 3508 |
3507 test::FrameGeneratorCapturer* capturer_ = nullptr; | 3509 test::FrameGeneratorCapturer* capturer_ = nullptr; |
3508 } test; | 3510 } test; |
3509 | 3511 |
3510 RunBaseTest(&test); | 3512 RunBaseTest(&test); |
3511 } | 3513 } |
3512 | 3514 |
3513 } // namespace webrtc | 3515 } // namespace webrtc |
OLD | NEW |