pjsua_app_config.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Copyright (C) 2008-2013 Teluu Inc. (http://www.teluu.com)
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software
  16. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  17. */
  18. #ifndef __PJSUA_APP_CONFIG_H__
  19. #define __PJSUA_APP_CONFIG_H__
  20. #include <pjlib.h>
  21. /* This file defines the default app config. It's used by pjsua
  22. * *mobile* version only. If you're porting pjsua to new mobile
  23. * platform, you should only include this file once in one of
  24. * your source file.
  25. */
  26. const char *pjsua_app_def_argv[] = { "pjsua",
  27. "--use-cli",
  28. "--no-cli-console",
  29. "--quality=4",
  30. #if defined(PJMEDIA_HAS_VIDEO) && PJMEDIA_HAS_VIDEO
  31. "--video",
  32. #endif
  33. #if defined(PJ_SYMBIAN) && PJ_SYMBIAN
  34. /* Can't reuse address on E52 */
  35. "--cli-telnet-port=0",
  36. #else
  37. "--cli-telnet-port=2323",
  38. #endif
  39. #if defined(PJ_CONFIG_BB10) && PJ_CONFIG_BB10
  40. "--add-buddy=sip:169.254.0.2",
  41. #endif
  42. NULL };
  43. #define pjsua_app_def_argc (PJ_ARRAY_SIZE(pjsua_app_def_argv)-1)
  44. #endif /* __PJSUA_APP_CONFIG_H__ */