Changeset 667
- Timestamp:
- Aug 9, 2006 11:59:26 AM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/config_site_sample.h
r656 r667 1 1 2 3 //#define PJ_CONFIG_MINIMAL_SIZE 4 //#define PJ_CONFIG_MAXIMUM_SPEED 2 5 3 6 … … 20 23 21 24 # define PJMEDIA_HAS_G711_PLC 0 22 # define PJMEDIA_HAS_SMALL_FILTER 025 # define PJMEDIA_HAS_SMALL_FILTER 1 23 26 # define PJMEDIA_HAS_LARGE_FILTER 0 24 27 # define PJMEDIA_HAS_L16_CODEC 0 25 28 /*# define PJMEDIA_HAS_GSM_CODEC 0*/ 26 # define PJMEDIA_HAS_ILBC_CODEC 0 29 /*# define PJMEDIA_HAS_ILBC_CODEC 0*/ 27 30 /*# define PJMEDIA_HAS_SPEEX_CODEC 0*/ 28 31 # define PJMEDIA_HAS_SPEEX_AEC 0 29 32 #endif 30 33 34 35 36 /* 37 * Minimum size 38 */ 39 #ifdef PJ_CONFIG_MINIMAL_SIZE 40 41 # undef PJ_OS_HAS_CHECK_STACK 42 # define PJ_OS_HAS_CHECK_STACK 0 43 # define PJ_LOG_MAX_LEVEL 0 44 # define PJ_ENABLE_EXTRA_CHECK 0 45 # define PJ_HAS_ERROR_STRING 0 46 # undef PJ_IOQUEUE_MAX_HANDLES 47 # define PJ_IOQUEUE_MAX_HANDLES 4 48 # define PJSIP_MAX_TSX_COUNT 16 49 # define PJSIP_MAX_DIALOG_COUNT 16 50 # define PJSIP_UDP_SO_SNDBUF_SIZE 4000 51 # define PJSIP_UDP_SO_RCVBUF_SIZE 4000 52 # define PJSIP_AUTH_HEADER_CACHING 0 53 # define PJSIP_AUTH_AUTO_SEND_NEXT 0 54 # define PJSIP_AUTH_QOP_SUPPORT 0 55 # define PJMEDIA_HAS_LARGE_FILTER 0 56 # define PJMEDIA_HAS_SMALL_FILTER 1 57 58 59 #elif defined(PJ_CONFIG_MAXIMUM_SPEED) 60 # define PJ_SCANNER_USE_BITWISE 0 61 # undef PJ_OS_HAS_CHECK_STACK 62 # define PJ_OS_HAS_CHECK_STACK 0 63 # define PJ_LOG_MAX_LEVEL 3 64 # define PJ_ENABLE_EXTRA_CHECK 0 65 # define PJ_IOQUEUE_MAX_HANDLES 5000 66 # define PJSIP_MAX_TSX_COUNT ((640*1024)-1) 67 # define PJSIP_MAX_DIALOG_COUNT ((640*1024)-1) 68 # define PJSIP_UDP_SO_SNDBUF_SIZE (24*1024*1024) 69 # define PJSIP_UDP_SO_RCVBUF_SIZE (24*1024*1024) 70 # define PJ_DEBUG 0 71 # define PJSIP_SAFE_MODULE 0 72 # define PJ_HAS_STRICMP_ALNUM 1 73 # define PJ_HASH_USE_OWN_TOLOWER 1 74 # define PJSIP_UNESCAPE_IN_PLACE 1 75 76 # ifdef PJ_WIN32 77 # define PJSIP_MAX_NET_EVENTS 10 78 # endif 79 80 # define PJSUA_MAX_CALLS 512 81 #endif 82 -
pjproject/trunk/pjsip-apps/src/pjsua_wince/pjsua_wince.cpp
r658 r667 208 208 SetAction(ID_MENU_ANSWER); 209 209 SetURI(call_info.remote_info.ptr, call_info.remote_info.slen, false); 210 pjsua_call_answer(call_id, 180, NULL, NULL);210 pjsua_call_answer(call_id, 200, NULL, NULL); 211 211 } 212 212 … … 286 286 media_cfg.clock_rate = 8000; 287 287 media_cfg.ec_options = PJMEDIA_ECHO_SIMPLE; 288 media_cfg.ec_tail_len = 256; 288 289 media_cfg.quality = 1; 289 290 media_cfg.ptime = 20; … … 306 307 307 308 /* Set codec priority */ 308 pjsua_codec_set_priority(pj_cstr(&tmp, "gsm"), 10);309 309 pjsua_codec_set_priority(pj_cstr(&tmp, "pcmu"), 240); 310 310 pjsua_codec_set_priority(pj_cstr(&tmp, "pcma"), 230); 311 311 pjsua_codec_set_priority(pj_cstr(&tmp, "speex/8000"), 190); 312 pjsua_codec_set_priority(pj_cstr(&tmp, "ilbc"), 189); 312 313 pjsua_codec_set_priority(pj_cstr(&tmp, "speex/16000"), 180); 313 314 pjsua_codec_set_priority(pj_cstr(&tmp, "speex/32000"), 0); 315 pjsua_codec_set_priority(pj_cstr(&tmp, "gsm"), 100); 314 316 315 317
Note: See TracChangeset
for help on using the changeset viewer.