Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1083)

Side by Side Diff: webrtc/video/end_to_end_tests.cc

Issue 1604563002: Add send-side BWE to WebRtcVoiceEngine under a finch experiment. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed one more comment. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/call/rampup_tests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1621 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 1632
1633 void ModifyAudioConfigs( 1633 void ModifyAudioConfigs(
1634 AudioSendStream::Config* send_config, 1634 AudioSendStream::Config* send_config,
1635 std::vector<AudioReceiveStream::Config>* receive_configs) override { 1635 std::vector<AudioReceiveStream::Config>* receive_configs) override {
1636 send_config->rtp.extensions.clear(); 1636 send_config->rtp.extensions.clear();
1637 send_config->rtp.extensions.push_back( 1637 send_config->rtp.extensions.push_back(
1638 RtpExtension(RtpExtension::kTransportSequenceNumber, kExtensionId)); 1638 RtpExtension(RtpExtension::kTransportSequenceNumber, kExtensionId));
1639 (*receive_configs)[0].rtp.extensions.clear(); 1639 (*receive_configs)[0].rtp.extensions.clear();
1640 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions; 1640 (*receive_configs)[0].rtp.extensions = send_config->rtp.extensions;
1641 (*receive_configs)[0].rtp.transport_cc = feedback_enabled_; 1641 (*receive_configs)[0].rtp.transport_cc = feedback_enabled_;
1642 (*receive_configs)[0].combined_audio_video_bwe = true;
1643 } 1642 }
1644 1643
1645 private: 1644 private:
1646 static const int kExtensionId = 5; 1645 static const int kExtensionId = 5;
1647 const bool feedback_enabled_; 1646 const bool feedback_enabled_;
1648 const size_t num_video_streams_; 1647 const size_t num_video_streams_;
1649 const size_t num_audio_streams_; 1648 const size_t num_audio_streams_;
1650 Call* receiver_call_; 1649 Call* receiver_call_;
1651 }; 1650 };
1652 1651
(...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after
3515 private: 3514 private:
3516 bool video_observed_; 3515 bool video_observed_;
3517 bool audio_observed_; 3516 bool audio_observed_;
3518 SequenceNumberUnwrapper unwrapper_; 3517 SequenceNumberUnwrapper unwrapper_;
3519 std::set<int64_t> received_packet_ids_; 3518 std::set<int64_t> received_packet_ids_;
3520 } test; 3519 } test;
3521 3520
3522 RunBaseTest(&test); 3521 RunBaseTest(&test);
3523 } 3522 }
3524 } // namespace webrtc 3523 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/rampup_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698