OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 bool start_bitrate_verified_; | 91 bool start_bitrate_verified_; |
92 int expected_bitrate_bps_; | 92 int expected_bitrate_bps_; |
93 int64_t test_start_ms_; | 93 int64_t test_start_ms_; |
94 int64_t ramp_up_finished_ms_; | 94 int64_t ramp_up_finished_ms_; |
95 | 95 |
96 const std::string extension_type_; | 96 const std::string extension_type_; |
97 std::vector<uint32_t> ssrcs_; | 97 std::vector<uint32_t> ssrcs_; |
98 std::vector<uint32_t> rtx_ssrcs_; | 98 std::vector<uint32_t> rtx_ssrcs_; |
99 SsrcMap rtx_ssrc_map_; | 99 SsrcMap rtx_ssrc_map_; |
100 | 100 |
101 rtc::scoped_ptr<ThreadWrapper> poller_thread_; | 101 rtc::scoped_ptr<PlatformThread> poller_thread_; |
102 Call* sender_call_; | 102 Call* sender_call_; |
103 }; | 103 }; |
104 | 104 |
105 class RampUpDownUpTester : public RampUpTester { | 105 class RampUpDownUpTester : public RampUpTester { |
106 public: | 106 public: |
107 RampUpDownUpTester(size_t num_streams, | 107 RampUpDownUpTester(size_t num_streams, |
108 unsigned int start_bitrate_bps, | 108 unsigned int start_bitrate_bps, |
109 const std::string& extension_type, | 109 const std::string& extension_type, |
110 bool rtx, | 110 bool rtx, |
111 bool red); | 111 bool red); |
(...skipping 14 matching lines...) Expand all Loading... |
126 std::string GetModifierString() const; | 126 std::string GetModifierString() const; |
127 void EvolveTestState(int bitrate_bps, bool suspended); | 127 void EvolveTestState(int bitrate_bps, bool suspended); |
128 | 128 |
129 TestStates test_state_; | 129 TestStates test_state_; |
130 int64_t state_start_ms_; | 130 int64_t state_start_ms_; |
131 int64_t interval_start_ms_; | 131 int64_t interval_start_ms_; |
132 int sent_bytes_; | 132 int sent_bytes_; |
133 }; | 133 }; |
134 } // namespace webrtc | 134 } // namespace webrtc |
135 #endif // WEBRTC_VIDEO_RAMPUP_TESTS_H_ | 135 #endif // WEBRTC_VIDEO_RAMPUP_TESTS_H_ |
OLD | NEW |