| 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 | |
| 21 | #include <pjlib.h> |
| 22 | |
| 23 | /* This file defines the default app config. It's used by pjsua |
| 24 | * *mobile* version only. If you're porting pjsua to new mobile |
| 25 | * platform, you should only include this file once in one of |
| 26 | * your source file. |
| 27 | */ |
| 28 | const char *pjsua_app_def_argv[] = { "pjsua", |
| 29 | "--use-cli", |
| 30 | "--no-cli-console", |
| 31 | "--quality=4", |
| 32 | #if defined(PJMEDIA_HAS_VIDEO) && PJMEDIA_HAS_VIDEO |
| 33 | "--video", |
| 34 | #endif |
| 35 | #if defined(PJ_SYMBIAN) && PJ_SYMBIAN |
| 36 | /* Can't reuse address on E52 */ |
| 37 | "--cli-telnet-port=0", |
| 38 | #else |
| 39 | "--cli-telnet-port=2323", |
| 40 | #endif |
| 41 | #if defined(PJ_CONFIG_BB10) && PJ_CONFIG_BB10 |
| 42 | "--add-buddy=sip:169.254.0.2", |
| 43 | #endif |
| 44 | NULL }; |
| 45 | |
| 46 | #define pjsua_app_def_argc (PJ_ARRAY_SIZE(pjsua_app_def_argv)-1) |
| 47 | |
| 48 | |
| 49 | #endif /* __PJSUA_APP_CONFIG_H__ */ |
| 50 |