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. |
282 flags::NumTemporalLayers(), | 284 flags::NumTemporalLayers(), |
283 flags::SelectedTL(), | 285 flags::SelectedTL(), |
284 flags::MinTransmitBitrateKbps() * 1000, | 286 flags::MinTransmitBitrateKbps() * 1000, |
285 false, // ULPFEC disabled. | 287 false, // ULPFEC disabled. |
286 false, // FlexFEC disabled. | 288 false, // FlexFEC disabled. |
287 ""}; | 289 ""}; |
288 params.screenshare = {true, flags::GenerateSlides(), | 290 params.screenshare = {true, flags::GenerateSlides(), |
289 flags::SlideChangeInterval(), | 291 flags::SlideChangeInterval(), |
290 flags::ScrollDuration(), flags::Slides()}; | 292 flags::ScrollDuration(), flags::Slides()}; |
291 params.analyzer = {"screenshare", 0.0, 0.0, flags::DurationSecs(), | 293 params.analyzer = {"screenshare", 0.0, 0.0, flags::DurationSecs(), |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 } | 329 } |
328 | 330 |
329 // InitFieldTrialsFromString needs a reference to an std::string instance, | 331 // InitFieldTrialsFromString needs a reference to an std::string instance, |
330 // with a scope that outlives the test. | 332 // with a scope that outlives the test. |
331 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; | 333 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; |
332 webrtc::test::InitFieldTrialsFromString(field_trials); | 334 webrtc::test::InitFieldTrialsFromString(field_trials); |
333 | 335 |
334 webrtc::test::RunTest(webrtc::Loopback); | 336 webrtc::test::RunTest(webrtc::Loopback); |
335 return 0; | 337 return 0; |
336 } | 338 } |
OLD | NEW |