| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 const int start_bitrate_bps_; | 93 const int start_bitrate_bps_; |
| 94 bool start_bitrate_verified_; | 94 bool start_bitrate_verified_; |
| 95 int expected_bitrate_bps_; | 95 int expected_bitrate_bps_; |
| 96 int64_t test_start_ms_; | 96 int64_t test_start_ms_; |
| 97 int64_t ramp_up_finished_ms_; | 97 int64_t ramp_up_finished_ms_; |
| 98 | 98 |
| 99 const std::string extension_type_; | 99 const std::string extension_type_; |
| 100 std::vector<uint32_t> video_ssrcs_; | 100 std::vector<uint32_t> video_ssrcs_; |
| 101 std::vector<uint32_t> video_rtx_ssrcs_; | 101 std::vector<uint32_t> video_rtx_ssrcs_; |
| 102 std::vector<uint32_t> audio_ssrcs_; | 102 std::vector<uint32_t> audio_ssrcs_; |
| 103 SsrcMap rtx_ssrc_map_; | |
| 104 | 103 |
| 105 rtc::PlatformThread poller_thread_; | 104 rtc::PlatformThread poller_thread_; |
| 106 }; | 105 }; |
| 107 | 106 |
| 108 class RampUpDownUpTester : public RampUpTester { | 107 class RampUpDownUpTester : public RampUpTester { |
| 109 public: | 108 public: |
| 110 RampUpDownUpTester(size_t num_video_streams, | 109 RampUpDownUpTester(size_t num_video_streams, |
| 111 size_t num_audio_streams, | 110 size_t num_audio_streams, |
| 112 unsigned int start_bitrate_bps, | 111 unsigned int start_bitrate_bps, |
| 113 const std::string& extension_type, | 112 const std::string& extension_type, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 130 std::string GetModifierString() const; | 129 std::string GetModifierString() const; |
| 131 void EvolveTestState(int bitrate_bps, bool suspended); | 130 void EvolveTestState(int bitrate_bps, bool suspended); |
| 132 | 131 |
| 133 TestStates test_state_; | 132 TestStates test_state_; |
| 134 int64_t state_start_ms_; | 133 int64_t state_start_ms_; |
| 135 int64_t interval_start_ms_; | 134 int64_t interval_start_ms_; |
| 136 int sent_bytes_; | 135 int sent_bytes_; |
| 137 }; | 136 }; |
| 138 } // namespace webrtc | 137 } // namespace webrtc |
| 139 #endif // WEBRTC_CALL_RAMPUP_TESTS_H_ | 138 #endif // WEBRTC_CALL_RAMPUP_TESTS_H_ |
| OLD | NEW |