| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 VideoSendStream* send_stream_; | 65 VideoSendStream* send_stream_; |
| 66 test::PacketTransport* send_transport_; | 66 test::PacketTransport* send_transport_; |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 typedef std::map<uint32_t, uint32_t> SsrcMap; | 69 typedef std::map<uint32_t, uint32_t> SsrcMap; |
| 70 | 70 |
| 71 Call::Config GetSenderCallConfig() override; | 71 Call::Config GetSenderCallConfig() override; |
| 72 void OnVideoStreamsCreated( | 72 void OnVideoStreamsCreated( |
| 73 VideoSendStream* send_stream, | 73 VideoSendStream* send_stream, |
| 74 const std::vector<VideoReceiveStream*>& receive_streams) override; | 74 const std::vector<VideoReceiveStream*>& receive_streams) override; |
| 75 void OnTransportsCreated(test::PacketTransport* send_transport, | 75 test::PacketTransport* CreateSendTransport(Call* sender_call) override; |
| 76 test::PacketTransport* receive_transport) override; | |
| 77 void ModifyVideoConfigs( | 76 void ModifyVideoConfigs( |
| 78 VideoSendStream::Config* send_config, | 77 VideoSendStream::Config* send_config, |
| 79 std::vector<VideoReceiveStream::Config>* receive_configs, | 78 std::vector<VideoReceiveStream::Config>* receive_configs, |
| 80 VideoEncoderConfig* encoder_config) override; | 79 VideoEncoderConfig* encoder_config) override; |
| 81 void OnCallsCreated(Call* sender_call, Call* receiver_call) override; | 80 void OnCallsCreated(Call* sender_call, Call* receiver_call) override; |
| 82 | 81 |
| 83 static bool BitrateStatsPollingThread(void* obj); | 82 static bool BitrateStatsPollingThread(void* obj); |
| 84 | 83 |
| 85 const int start_bitrate_bps_; | 84 const int start_bitrate_bps_; |
| 86 bool start_bitrate_verified_; | 85 bool start_bitrate_verified_; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 std::string GetModifierString() const; | 121 std::string GetModifierString() const; |
| 123 void EvolveTestState(int bitrate_bps, bool suspended); | 122 void EvolveTestState(int bitrate_bps, bool suspended); |
| 124 | 123 |
| 125 TestStates test_state_; | 124 TestStates test_state_; |
| 126 int64_t state_start_ms_; | 125 int64_t state_start_ms_; |
| 127 int64_t interval_start_ms_; | 126 int64_t interval_start_ms_; |
| 128 int sent_bytes_; | 127 int sent_bytes_; |
| 129 }; | 128 }; |
| 130 } // namespace webrtc | 129 } // namespace webrtc |
| 131 #endif // WEBRTC_CALL_RAMPUP_TESTS_H_ | 130 #endif // WEBRTC_CALL_RAMPUP_TESTS_H_ |
| OLD | NEW |