| 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 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 | 1611 |
| 1612 void ModifyAudioConfigs( | 1612 void ModifyAudioConfigs( |
| 1613 AudioSendStream::Config* send_config, | 1613 AudioSendStream::Config* send_config, |
| 1614 std::vector<AudioReceiveStream::Config>* receive_configs) override { | 1614 std::vector<AudioReceiveStream::Config>* receive_configs) override { |
| 1615 send_config->rtp.extensions.clear(); | 1615 send_config->rtp.extensions.clear(); |
| 1616 send_config->rtp.extensions.push_back( | 1616 send_config->rtp.extensions.push_back( |
| 1617 RtpExtension(RtpExtension::kTransportSequenceNumber, kExtensionId)); | 1617 RtpExtension(RtpExtension::kTransportSequenceNumber, kExtensionId)); |
| 1618 (*receive_configs)[0].rtp.extensions.clear(); | 1618 (*receive_configs)[0].rtp.extensions.clear(); |
| 1619 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; | 1619 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; |
| 1620 (*receive_configs)[0].rtp.transport_cc = feedback_enabled_; | 1620 (*receive_configs)[0].rtp.transport_cc = feedback_enabled_; |
| 1621 (*receive_configs)[0].combined_audio_video_bwe = true; | |
| 1622 } | 1621 } |
| 1623 | 1622 |
| 1624 private: | 1623 private: |
| 1625 static const int kExtensionId = 5; | 1624 static const int kExtensionId = 5; |
| 1626 const bool feedback_enabled_; | 1625 const bool feedback_enabled_; |
| 1627 const size_t num_video_streams_; | 1626 const size_t num_video_streams_; |
| 1628 const size_t num_audio_streams_; | 1627 const size_t num_audio_streams_; |
| 1629 Call* receiver_call_; | 1628 Call* receiver_call_; |
| 1630 }; | 1629 }; |
| 1631 | 1630 |
| (...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3494 private: | 3493 private: |
| 3495 bool video_observed_; | 3494 bool video_observed_; |
| 3496 bool audio_observed_; | 3495 bool audio_observed_; |
| 3497 SequenceNumberUnwrapper unwrapper_; | 3496 SequenceNumberUnwrapper unwrapper_; |
| 3498 std::set<int64_t> received_packet_ids_; | 3497 std::set<int64_t> received_packet_ids_; |
| 3499 } test; | 3498 } test; |
| 3500 | 3499 |
| 3501 RunBaseTest(&test); | 3500 RunBaseTest(&test); |
| 3502 } | 3501 } |
| 3503 } // namespace webrtc | 3502 } // namespace webrtc |
| OLD | NEW |