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

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

Issue 1573453002: Add CreateSend/ReceiveTransport() methods to CallTest. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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 | « webrtc/call/call_perf_tests.cc ('k') | 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « webrtc/call/call_perf_tests.cc ('k') | webrtc/call/rampup_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698