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

Side by Side Diff: webrtc/call/rampup_tests.cc

Issue 2953053002: Reland of Periodically update codec bit/frame rate settings. (Closed)
Patch Set: Fix bug and add test Created 3 years, 6 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 | « no previous file | webrtc/media/engine/simulcast.cc » ('j') | 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 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 stop_event_(false, false), 47 stop_event_(false, false),
48 clock_(Clock::GetRealTimeClock()), 48 clock_(Clock::GetRealTimeClock()),
49 num_video_streams_(num_video_streams), 49 num_video_streams_(num_video_streams),
50 num_audio_streams_(num_audio_streams), 50 num_audio_streams_(num_audio_streams),
51 num_flexfec_streams_(num_flexfec_streams), 51 num_flexfec_streams_(num_flexfec_streams),
52 rtx_(rtx), 52 rtx_(rtx),
53 red_(red), 53 red_(red),
54 report_perf_stats_(report_perf_stats), 54 report_perf_stats_(report_perf_stats),
55 sender_call_(nullptr), 55 sender_call_(nullptr),
56 send_stream_(nullptr), 56 send_stream_(nullptr),
57 send_transport_(nullptr),
57 start_bitrate_bps_(start_bitrate_bps), 58 start_bitrate_bps_(start_bitrate_bps),
58 min_run_time_ms_(min_run_time_ms), 59 min_run_time_ms_(min_run_time_ms),
59 expected_bitrate_bps_(0), 60 expected_bitrate_bps_(0),
60 test_start_ms_(-1), 61 test_start_ms_(-1),
61 ramp_up_finished_ms_(-1), 62 ramp_up_finished_ms_(-1),
62 extension_type_(extension_type), 63 extension_type_(extension_type),
63 video_ssrcs_(GenerateSsrcs(num_video_streams_, 100)), 64 video_ssrcs_(GenerateSsrcs(num_video_streams_, 100)),
64 video_rtx_ssrcs_(GenerateSsrcs(num_video_streams_, 200)), 65 video_rtx_ssrcs_(GenerateSsrcs(num_video_streams_, 200)),
65 audio_ssrcs_(GenerateSsrcs(num_audio_streams_, 300)), 66 audio_ssrcs_(GenerateSsrcs(num_audio_streams_, 300)),
66 poller_thread_(&BitrateStatsPollingThread, 67 poller_thread_(&BitrateStatsPollingThread,
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 RunBaseTest(&test); 641 RunBaseTest(&test);
641 } 642 }
642 643
643 TEST_F(RampUpTest, AudioTransportSequenceNumber) { 644 TEST_F(RampUpTest, AudioTransportSequenceNumber) {
644 RampUpTester test(0, 1, 0, 300000, 10000, 645 RampUpTester test(0, 1, 0, 300000, 10000,
645 RtpExtension::kTransportSequenceNumberUri, false, false, 646 RtpExtension::kTransportSequenceNumberUri, false, false,
646 false); 647 false);
647 RunBaseTest(&test); 648 RunBaseTest(&test);
648 } 649 }
649 } // namespace webrtc 650 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/engine/simulcast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698