blob: f3dda765e5002d9928fb4025c30ff2cbaf687352 [file] [log] [blame]
Donald E Curtisa8736442015-08-05 15:48:13 -07001/*
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
jbauch70625e52015-12-09 14:18:14 -080011#ifndef WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_
12#define WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_
Donald E Curtisa8736442015-08-05 15:48:13 -070013
Edward Lemurc20978e2017-07-06 19:44:34 +020014#include "webrtc/rtc_base/flags.h"
Donald E Curtisa8736442015-08-05 15:48:13 -070015
Peter Boström0c4e06b2015-10-07 12:23:21 +020016extern const uint16_t kDefaultServerPort; // From defaults.[h|cc]
Donald E Curtisa8736442015-08-05 15:48:13 -070017
18// Define flags for the peerconnect_client testing tool, in a separate
19// header file so that they can be shared across the different main.cc's
20// for each platform.
21
22DEFINE_bool(help, false, "Prints this message");
23DEFINE_bool(autoconnect, false, "Connect to the server without user "
24 "intervention.");
25DEFINE_string(server, "localhost", "The server to connect to.");
26DEFINE_int(port, kDefaultServerPort,
27 "The port on which the server is listening.");
28DEFINE_bool(autocall, false, "Call the first available other client on "
29 "the server without user intervention. Note: this flag should only be set "
30 "to true on one of the two clients.");
31
jbauch70625e52015-12-09 14:18:14 -080032#endif // WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_