OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 flags::MaxBitrateKbps() * 1000, | 241 flags::MaxBitrateKbps() * 1000, |
242 false, | 242 false, |
243 flags::Codec(), | 243 flags::Codec(), |
244 flags::NumTemporalLayers(), | 244 flags::NumTemporalLayers(), |
245 flags::SelectedTL(), | 245 flags::SelectedTL(), |
246 flags::MinTransmitBitrateKbps() * 1000, | 246 flags::MinTransmitBitrateKbps() * 1000, |
247 false, // ULPFEC disabled. | 247 false, // ULPFEC disabled. |
248 false, // FlexFEC disabled. | 248 false, // FlexFEC disabled. |
249 flags::EncodedFramePath(), | 249 flags::EncodedFramePath(), |
250 ""}; | 250 ""}; |
251 params.audio = {false, false}; | |
252 params.screenshare = {true, flags::SlideChangeInterval(), | 251 params.screenshare = {true, flags::SlideChangeInterval(), |
253 flags::ScrollDuration()}; | 252 flags::ScrollDuration()}; |
254 params.analyzer = {"screenshare", 0.0, 0.0, flags::DurationSecs(), | 253 params.analyzer = {"screenshare", 0.0, 0.0, flags::DurationSecs(), |
255 flags::OutputFilename(), flags::GraphTitle()}; | 254 flags::OutputFilename(), flags::GraphTitle()}; |
256 params.pipe = pipe_config; | 255 params.pipe = pipe_config; |
257 params.logs = flags::FLAGS_logs; | 256 params.logs = flags::FLAGS_logs; |
258 | 257 |
259 std::vector<std::string> stream_descriptors; | 258 std::vector<std::string> stream_descriptors; |
260 stream_descriptors.push_back(flags::Stream0()); | 259 stream_descriptors.push_back(flags::Stream0()); |
261 stream_descriptors.push_back(flags::Stream1()); | 260 stream_descriptors.push_back(flags::Stream1()); |
(...skipping 14 matching lines...) Expand all Loading... |
276 } // namespace webrtc | 275 } // namespace webrtc |
277 | 276 |
278 int main(int argc, char* argv[]) { | 277 int main(int argc, char* argv[]) { |
279 ::testing::InitGoogleTest(&argc, argv); | 278 ::testing::InitGoogleTest(&argc, argv); |
280 google::ParseCommandLineFlags(&argc, &argv, true); | 279 google::ParseCommandLineFlags(&argc, &argv, true); |
281 webrtc::test::InitFieldTrialsFromString( | 280 webrtc::test::InitFieldTrialsFromString( |
282 webrtc::flags::FLAGS_force_fieldtrials); | 281 webrtc::flags::FLAGS_force_fieldtrials); |
283 webrtc::test::RunTest(webrtc::Loopback); | 282 webrtc::test::RunTest(webrtc::Loopback); |
284 return 0; | 283 return 0; |
285 } | 284 } |
OLD | NEW |