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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 params.call = {flags::FLAG_send_side_bwe, call_bitrate_config, 0}; | 269 params.call = {flags::FLAG_send_side_bwe, call_bitrate_config, 0}; |
270 params.video = {flags::FLAG_video, | 270 params.video = {flags::FLAG_video, |
271 flags::Width(), | 271 flags::Width(), |
272 flags::Height(), | 272 flags::Height(), |
273 flags::Fps(), | 273 flags::Fps(), |
274 flags::MinBitrateKbps() * 1000, | 274 flags::MinBitrateKbps() * 1000, |
275 flags::TargetBitrateKbps() * 1000, | 275 flags::TargetBitrateKbps() * 1000, |
276 flags::MaxBitrateKbps() * 1000, | 276 flags::MaxBitrateKbps() * 1000, |
277 flags::FLAG_suspend_below_min_bitrate, | 277 flags::FLAG_suspend_below_min_bitrate, |
278 flags::Codec(), | 278 flags::Codec(), |
279 false, // No HW encoder. | |
280 false, // No SW fallback encoder. | |
281 flags::NumTemporalLayers(), | 279 flags::NumTemporalLayers(), |
282 flags::SelectedTL(), | 280 flags::SelectedTL(), |
283 0, // No min transmit bitrate. | 281 0, // No min transmit bitrate. |
284 flags::FLAG_use_ulpfec, | 282 flags::FLAG_use_ulpfec, |
285 flags::FLAG_use_flexfec, | 283 flags::FLAG_use_flexfec, |
286 flags::Clip(), | 284 flags::Clip(), |
287 flags::GetCaptureDevice()}; | 285 flags::GetCaptureDevice()}; |
288 params.audio = {flags::FLAG_audio, flags::FLAG_audio_video_sync, | 286 params.audio = {flags::FLAG_audio, flags::FLAG_audio_video_sync, |
289 flags::FLAG_audio_dtx}; | 287 flags::FLAG_audio_dtx}; |
290 params.logging = {flags::FLAG_logs, flags::FLAG_rtc_event_log_name, | 288 params.logging = {flags::FLAG_logs, flags::FLAG_rtc_event_log_name, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 } | 325 } |
328 | 326 |
329 // InitFieldTrialsFromString needs a reference to an std::string instance, | 327 // InitFieldTrialsFromString needs a reference to an std::string instance, |
330 // with a scope that outlives the test. | 328 // with a scope that outlives the test. |
331 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; | 329 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; |
332 webrtc::test::InitFieldTrialsFromString(field_trials); | 330 webrtc::test::InitFieldTrialsFromString(field_trials); |
333 | 331 |
334 webrtc::test::RunTest(webrtc::Loopback); | 332 webrtc::test::RunTest(webrtc::Loopback); |
335 return 0; | 333 return 0; |
336 } | 334 } |
OLD | NEW |