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

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

Issue 2794193003: Move SelectMediaType from RampUpTester to BaseTest. (Closed)
Patch Set: Created 3 years, 8 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/call/rampup_tests.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) 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 test::PacketTransport* send_transport_; 77 test::PacketTransport* send_transport_;
78 78
79 private: 79 private:
80 typedef std::map<uint32_t, uint32_t> SsrcMap; 80 typedef std::map<uint32_t, uint32_t> SsrcMap;
81 class VideoStreamFactory; 81 class VideoStreamFactory;
82 82
83 Call::Config GetSenderCallConfig() override; 83 Call::Config GetSenderCallConfig() override;
84 void OnVideoStreamsCreated( 84 void OnVideoStreamsCreated(
85 VideoSendStream* send_stream, 85 VideoSendStream* send_stream,
86 const std::vector<VideoReceiveStream*>& receive_streams) override; 86 const std::vector<VideoReceiveStream*>& receive_streams) override;
87 MediaType SelectMediaType();
88 test::PacketTransport* CreateSendTransport(Call* sender_call) override; 87 test::PacketTransport* CreateSendTransport(Call* sender_call) override;
89 test::PacketTransport* CreateReceiveTransport() override;
90 void ModifyVideoConfigs( 88 void ModifyVideoConfigs(
91 VideoSendStream::Config* send_config, 89 VideoSendStream::Config* send_config,
92 std::vector<VideoReceiveStream::Config>* receive_configs, 90 std::vector<VideoReceiveStream::Config>* receive_configs,
93 VideoEncoderConfig* encoder_config) override; 91 VideoEncoderConfig* encoder_config) override;
94 void ModifyAudioConfigs( 92 void ModifyAudioConfigs(
95 AudioSendStream::Config* send_config, 93 AudioSendStream::Config* send_config,
96 std::vector<AudioReceiveStream::Config>* receive_configs) override; 94 std::vector<AudioReceiveStream::Config>* receive_configs) override;
97 void ModifyFlexfecConfigs( 95 void ModifyFlexfecConfigs(
98 std::vector<FlexfecReceiveStream::Config>* receive_configs) override; 96 std::vector<FlexfecReceiveStream::Config>* receive_configs) override;
99 void OnCallsCreated(Call* sender_call, Call* receiver_call) override; 97 void OnCallsCreated(Call* sender_call, Call* receiver_call) override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 const std::vector<int> link_rates_; 149 const std::vector<int> link_rates_;
152 TestStates test_state_; 150 TestStates test_state_;
153 TestStates next_state_; 151 TestStates next_state_;
154 int64_t state_start_ms_; 152 int64_t state_start_ms_;
155 int64_t interval_start_ms_; 153 int64_t interval_start_ms_;
156 int sent_bytes_; 154 int sent_bytes_;
157 std::vector<int> loss_rates_; 155 std::vector<int> loss_rates_;
158 }; 156 };
159 } // namespace webrtc 157 } // namespace webrtc
160 #endif // WEBRTC_CALL_RAMPUP_TESTS_H_ 158 #endif // WEBRTC_CALL_RAMPUP_TESTS_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/call/rampup_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698