defaults.h 966 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright 2011 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. #ifndef EXAMPLES_PEERCONNECTION_CLIENT_DEFAULTS_H_
  11. #define EXAMPLES_PEERCONNECTION_CLIENT_DEFAULTS_H_
  12. #include <stdint.h>
  13. #include <string>
  14. extern const char kAudioLabel[];
  15. extern const char kVideoLabel[];
  16. extern const char kStreamId[];
  17. extern const uint16_t kDefaultServerPort;
  18. std::string GetEnvVarOrDefault(const char* env_var_name,
  19. const char* default_value);
  20. std::string GetPeerConnectionString();
  21. std::string GetDefaultServerName();
  22. std::string GetPeerName();
  23. #endif // EXAMPLES_PEERCONNECTION_CLIENT_DEFAULTS_H_