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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 params.call = {flags::FLAG_send_side_bwe, call_bitrate_config}; | 272 params.call = {flags::FLAG_send_side_bwe, call_bitrate_config}; |
273 params.video = {true, | 273 params.video = {true, |
274 flags::Width(), | 274 flags::Width(), |
275 flags::Height(), | 275 flags::Height(), |
276 flags::Fps(), | 276 flags::Fps(), |
277 flags::MinBitrateKbps() * 1000, | 277 flags::MinBitrateKbps() * 1000, |
278 flags::TargetBitrateKbps() * 1000, | 278 flags::TargetBitrateKbps() * 1000, |
279 flags::MaxBitrateKbps() * 1000, | 279 flags::MaxBitrateKbps() * 1000, |
280 false, | 280 false, |
281 flags::Codec(), | 281 flags::Codec(), |
282 false, // No HW encoder. | |
283 false, // No SW fallback encoder. | |
284 flags::NumTemporalLayers(), | 282 flags::NumTemporalLayers(), |
285 flags::SelectedTL(), | 283 flags::SelectedTL(), |
286 flags::MinTransmitBitrateKbps() * 1000, | 284 flags::MinTransmitBitrateKbps() * 1000, |
287 false, // ULPFEC disabled. | 285 false, // ULPFEC disabled. |
288 false, // FlexFEC disabled. | 286 false, // FlexFEC disabled. |
289 ""}; | 287 ""}; |
290 params.screenshare = {true, flags::GenerateSlides(), | 288 params.screenshare = {true, flags::GenerateSlides(), |
291 flags::SlideChangeInterval(), | 289 flags::SlideChangeInterval(), |
292 flags::ScrollDuration(), flags::Slides()}; | 290 flags::ScrollDuration(), flags::Slides()}; |
293 params.analyzer = {"screenshare", 0.0, 0.0, flags::DurationSecs(), | 291 params.analyzer = {"screenshare", 0.0, 0.0, flags::DurationSecs(), |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 } | 327 } |
330 | 328 |
331 // InitFieldTrialsFromString needs a reference to an std::string instance, | 329 // InitFieldTrialsFromString needs a reference to an std::string instance, |
332 // with a scope that outlives the test. | 330 // with a scope that outlives the test. |
333 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; | 331 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; |
334 webrtc::test::InitFieldTrialsFromString(field_trials); | 332 webrtc::test::InitFieldTrialsFromString(field_trials); |
335 | 333 |
336 webrtc::test::RunTest(webrtc::Loopback); | 334 webrtc::test::RunTest(webrtc::Loopback); |
337 return 0; | 335 return 0; |
338 } | 336 } |
OLD | NEW |