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 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1610 | 1610 |
1611 void ModifyAudioConfigs( | 1611 void ModifyAudioConfigs( |
1612 AudioSendStream::Config* send_config, | 1612 AudioSendStream::Config* send_config, |
1613 std::vector<AudioReceiveStream::Config>* receive_configs) override { | 1613 std::vector<AudioReceiveStream::Config>* receive_configs) override { |
1614 send_config->rtp.extensions.clear(); | 1614 send_config->rtp.extensions.clear(); |
1615 send_config->rtp.extensions.push_back( | 1615 send_config->rtp.extensions.push_back( |
1616 RtpExtension(RtpExtension::kTransportSequenceNumber, kExtensionId)); | 1616 RtpExtension(RtpExtension::kTransportSequenceNumber, kExtensionId)); |
1617 (*receive_configs)[0].rtp.extensions.clear(); | 1617 (*receive_configs)[0].rtp.extensions.clear(); |
1618 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; | 1618 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; |
1619 (*receive_configs)[0].rtp.transport_cc = feedback_enabled_; | 1619 (*receive_configs)[0].rtp.transport_cc = feedback_enabled_; |
1620 (*receive_configs)[0].combined_audio_video_bwe = true; | |
1621 } | 1620 } |
1622 | 1621 |
1623 private: | 1622 private: |
1624 static const int kExtensionId = 5; | 1623 static const int kExtensionId = 5; |
1625 const bool feedback_enabled_; | 1624 const bool feedback_enabled_; |
1626 const size_t num_video_streams_; | 1625 const size_t num_video_streams_; |
1627 const size_t num_audio_streams_; | 1626 const size_t num_audio_streams_; |
1628 Call* receiver_call_; | 1627 Call* receiver_call_; |
1629 }; | 1628 }; |
1630 | 1629 |
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3356 private: | 3355 private: |
3357 bool video_observed_; | 3356 bool video_observed_; |
3358 bool audio_observed_; | 3357 bool audio_observed_; |
3359 SequenceNumberUnwrapper unwrapper_; | 3358 SequenceNumberUnwrapper unwrapper_; |
3360 std::set<int64_t> received_packet_ids_; | 3359 std::set<int64_t> received_packet_ids_; |
3361 } test; | 3360 } test; |
3362 | 3361 |
3363 RunBaseTest(&test); | 3362 RunBaseTest(&test); |
3364 } | 3363 } |
3365 } // namespace webrtc | 3364 } // namespace webrtc |
OLD | NEW |