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 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1444 call_ = sender_call; | 1444 call_ = sender_call; |
1445 } | 1445 } |
1446 | 1446 |
1447 void ModifyVideoConfigs( | 1447 void ModifyVideoConfigs( |
1448 VideoSendStream::Config* send_config, | 1448 VideoSendStream::Config* send_config, |
1449 std::vector<VideoReceiveStream::Config>* receive_configs, | 1449 std::vector<VideoReceiveStream::Config>* receive_configs, |
1450 VideoEncoderConfig* encoder_config) override { | 1450 VideoEncoderConfig* encoder_config) override { |
1451 send_config->rtp.extensions.clear(); | 1451 send_config->rtp.extensions.clear(); |
1452 send_config->rtp.extensions.push_back(RtpExtension( | 1452 send_config->rtp.extensions.push_back(RtpExtension( |
1453 RtpExtension::kTransportSequenceNumberUri, kExtensionId)); | 1453 RtpExtension::kTransportSequenceNumberUri, kExtensionId)); |
| 1454 #if 0 |
1454 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; | 1455 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; |
| 1456 #endif |
1455 (*receive_configs)[0].rtp.transport_cc = true; | 1457 (*receive_configs)[0].rtp.transport_cc = true; |
1456 } | 1458 } |
1457 | 1459 |
1458 void ModifyAudioConfigs( | 1460 void ModifyAudioConfigs( |
1459 AudioSendStream::Config* send_config, | 1461 AudioSendStream::Config* send_config, |
1460 std::vector<AudioReceiveStream::Config>* receive_configs) override { | 1462 std::vector<AudioReceiveStream::Config>* receive_configs) override { |
1461 send_config->rtp.extensions.clear(); | 1463 send_config->rtp.extensions.clear(); |
1462 send_config->rtp.extensions.push_back(RtpExtension( | 1464 send_config->rtp.extensions.push_back(RtpExtension( |
1463 RtpExtension::kTransportSequenceNumberUri, kExtensionId)); | 1465 RtpExtension::kTransportSequenceNumberUri, kExtensionId)); |
1464 (*receive_configs)[0].rtp.extensions.clear(); | 1466 (*receive_configs)[0].rtp.extensions.clear(); |
(...skipping 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3330 rtc::CriticalSection crit_; | 3332 rtc::CriticalSection crit_; |
3331 uint32_t max_bitrate_bps_ GUARDED_BY(&crit_); | 3333 uint32_t max_bitrate_bps_ GUARDED_BY(&crit_); |
3332 bool first_packet_sent_ GUARDED_BY(&crit_); | 3334 bool first_packet_sent_ GUARDED_BY(&crit_); |
3333 rtc::Event bitrate_changed_event_; | 3335 rtc::Event bitrate_changed_event_; |
3334 } test; | 3336 } test; |
3335 | 3337 |
3336 RunBaseTest(&test); | 3338 RunBaseTest(&test); |
3337 } | 3339 } |
3338 | 3340 |
3339 } // namespace webrtc | 3341 } // namespace webrtc |
OLD | NEW |