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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 flags::Fps(), | 246 flags::Fps(), |
247 flags::MinBitrateKbps() * 1000, | 247 flags::MinBitrateKbps() * 1000, |
248 flags::TargetBitrateKbps() * 1000, | 248 flags::TargetBitrateKbps() * 1000, |
249 flags::MaxBitrateKbps() * 1000, | 249 flags::MaxBitrateKbps() * 1000, |
250 flags::FLAGS_suspend_below_min_bitrate, | 250 flags::FLAGS_suspend_below_min_bitrate, |
251 flags::Codec(), | 251 flags::Codec(), |
252 flags::NumTemporalLayers(), | 252 flags::NumTemporalLayers(), |
253 flags::SelectedTL(), | 253 flags::SelectedTL(), |
254 0, // No min transmit bitrate. | 254 0, // No min transmit bitrate. |
255 flags::FLAGS_use_fec, | 255 flags::FLAGS_use_fec, |
| 256 false, // TODO(brandtr): Wire up FlexFEC in future CL. |
256 flags::EncodedFramePath(), | 257 flags::EncodedFramePath(), |
257 flags::Clip()}; | 258 flags::Clip()}; |
258 params.audio = {flags::FLAGS_audio, flags::FLAGS_audio_video_sync}; | 259 params.audio = {flags::FLAGS_audio, flags::FLAGS_audio_video_sync}; |
259 params.screenshare.enabled = false; | 260 params.screenshare.enabled = false; |
260 params.analyzer = {"video", 0.0, 0.0, flags::DurationSecs(), | 261 params.analyzer = {"video", 0.0, 0.0, flags::DurationSecs(), |
261 flags::OutputFilename(), flags::GraphTitle()}; | 262 flags::OutputFilename(), flags::GraphTitle()}; |
262 params.pipe = pipe_config; | 263 params.pipe = pipe_config; |
263 params.logs = flags::FLAGS_logs; | 264 params.logs = flags::FLAGS_logs; |
264 | 265 |
265 std::vector<std::string> stream_descriptors; | 266 std::vector<std::string> stream_descriptors; |
(...skipping 16 matching lines...) Expand all Loading... |
282 } // namespace webrtc | 283 } // namespace webrtc |
283 | 284 |
284 int main(int argc, char* argv[]) { | 285 int main(int argc, char* argv[]) { |
285 ::testing::InitGoogleTest(&argc, argv); | 286 ::testing::InitGoogleTest(&argc, argv); |
286 google::ParseCommandLineFlags(&argc, &argv, true); | 287 google::ParseCommandLineFlags(&argc, &argv, true); |
287 webrtc::test::InitFieldTrialsFromString( | 288 webrtc::test::InitFieldTrialsFromString( |
288 webrtc::flags::FLAGS_force_fieldtrials); | 289 webrtc::flags::FLAGS_force_fieldtrials); |
289 webrtc::test::RunTest(webrtc::Loopback); | 290 webrtc::test::RunTest(webrtc::Loopback); |
290 return 0; | 291 return 0; |
291 } | 292 } |
OLD | NEW |