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

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

Issue 2999083002: Reland of Make the acceptable queue in the cwnd experiment configurable. (Closed)
Patch Set: Created 3 years, 4 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/modules/congestion_controller/send_side_congestion_controller.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 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after
1923 RunBaseTest(&test); 1923 RunBaseTest(&test);
1924 } 1924 }
1925 1925
1926 TEST_F(EndToEndTest, AudioVideoReceivesTransportFeedback) { 1926 TEST_F(EndToEndTest, AudioVideoReceivesTransportFeedback) {
1927 TransportFeedbackTester test(true, 1, 1); 1927 TransportFeedbackTester test(true, 1, 1);
1928 RunBaseTest(&test); 1928 RunBaseTest(&test);
1929 } 1929 }
1930 1930
1931 TEST_F(EndToEndTest, StopsSendingMediaWithoutFeedback) { 1931 TEST_F(EndToEndTest, StopsSendingMediaWithoutFeedback) {
1932 test::ScopedFieldTrials override_field_trials( 1932 test::ScopedFieldTrials override_field_trials(
1933 "WebRTC-CwndExperiment/Enabled/"); 1933 "WebRTC-CwndExperiment/Enabled-250/");
1934 1934
1935 class TransportFeedbackTester : public test::EndToEndTest { 1935 class TransportFeedbackTester : public test::EndToEndTest {
1936 public: 1936 public:
1937 TransportFeedbackTester(size_t num_video_streams, size_t num_audio_streams) 1937 TransportFeedbackTester(size_t num_video_streams, size_t num_audio_streams)
1938 : EndToEndTest(::webrtc::EndToEndTest::kDefaultTimeoutMs), 1938 : EndToEndTest(::webrtc::EndToEndTest::kDefaultTimeoutMs),
1939 num_video_streams_(num_video_streams), 1939 num_video_streams_(num_video_streams),
1940 num_audio_streams_(num_audio_streams), 1940 num_audio_streams_(num_audio_streams),
1941 media_sent_(0), 1941 media_sent_(0),
1942 padding_sent_(0) { 1942 padding_sent_(0) {
1943 // Only one stream of each supported for now. 1943 // Only one stream of each supported for now.
(...skipping 2894 matching lines...) Expand 10 before | Expand all | Expand 10 after
4838 std::unique_ptr<VideoEncoder> encoder_; 4838 std::unique_ptr<VideoEncoder> encoder_;
4839 std::unique_ptr<VideoDecoder> decoder_; 4839 std::unique_ptr<VideoDecoder> decoder_;
4840 rtc::CriticalSection crit_; 4840 rtc::CriticalSection crit_;
4841 int recorded_frames_ GUARDED_BY(crit_); 4841 int recorded_frames_ GUARDED_BY(crit_);
4842 } test(this); 4842 } test(this);
4843 4843
4844 RunBaseTest(&test); 4844 RunBaseTest(&test);
4845 } 4845 }
4846 4846
4847 } // namespace webrtc 4847 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/congestion_controller/send_side_congestion_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698