Home --> Documentations --> PJLIB Reference
26#if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0
33 #define PJ_HAS_FLOATING_POINT 0
40 #define PJMEDIA_HAS_L16_CODEC 0
41 #define PJMEDIA_HAS_ILBC_CODEC 0
44 #define PJMEDIA_SOUND_BUFFER_COUNT 32
47 #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5
50 #define PJMEDIA_HAS_SPEEX_AEC 0
62 #define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE
65 #define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA_LITE
74 #define PJSIP_MAX_TSX_COUNT 31
75 #define PJSIP_MAX_DIALOG_COUNT 31
76 #define PJSUA_MAX_CALLS 4
85 #define PJSUA_DEFAULT_CODEC_QUALITY 4
88 #define PJSUA_MAX_ACC 4
89 #define PJSUA_MAX_PLAYERS 4
90 #define PJSUA_MAX_RECORDERS 4
91 #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS)
92 #define PJSUA_MAX_BUDDIES 32
100#if defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0
107 #define PJ_HAS_FLOATING_POINT 0
110 #define PJ_MAXPATH 80
117 #define PJ_LOG_MAX_SIZE (PJSIP_MAX_PKT_LEN+500)
122 #define PJ_LOG_USE_STACK_BUFFER 0
125 #define PJ_OS_HAS_CHECK_STACK 0
133 #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
134 #define PJMEDIA_AUDIO_DEV_HAS_WMME 0
137 #define PJMEDIA_HAS_L16_CODEC 0
138 #define PJMEDIA_HAS_ILBC_CODEC 0
139 #define PJMEDIA_HAS_G722_CODEC 0
142 #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5
145 #define PJMEDIA_HAS_SPEEX_AEC 0
157 #define PJMEDIA_RESAMPLE_IMP PJMEDIA_RESAMPLE_LIBRESAMPLE
160 #define PJMEDIA_WSOLA_IMP PJMEDIA_WSOLA_IMP_WSOLA_LITE
165 #define PJMEDIA_SOUND_BUFFER_COUNT 32
172 #define PJSIP_SAFE_MODULE 0
175 #define PJSIP_MAX_PKT_LEN 2000
178 #define PJSIP_POOL_LEN_ENDPT 1000
179 #define PJSIP_POOL_INC_ENDPT 1000
180 #define PJSIP_POOL_RDATA_LEN 2000
181 #define PJSIP_POOL_RDATA_INC 2000
182 #define PJSIP_POOL_LEN_TDATA 2000
183 #define PJSIP_POOL_INC_TDATA 512
184 #define PJSIP_POOL_LEN_UA 2000
185 #define PJSIP_POOL_INC_UA 1000
186 #define PJSIP_POOL_TSX_LAYER_LEN 256
187 #define PJSIP_POOL_TSX_LAYER_INC 256
188 #define PJSIP_POOL_TSX_LEN 512
189 #define PJSIP_POOL_TSX_INC 128
198 #define PJSUA_DEFAULT_CODEC_QUALITY 4
201 #define PJSIP_MAX_TSX_COUNT 31
202 #define PJSIP_MAX_DIALOG_COUNT 31
203 #define PJSUA_MAX_CALLS 4
206 #define PJSUA_MAX_ACC 4
207 #define PJSUA_MAX_PLAYERS 4
208 #define PJSUA_MAX_RECORDERS 4
209 #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS)
210 #define PJSUA_MAX_BUDDIES 32
220#ifdef PJ_CONFIG_NOKIA_APS_DIRECT
223 #define PJMEDIA_CONF_USE_SWITCH_BOARD 1
226 #define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 0
227 #define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS 1
228 #define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS 0
231 #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1
234 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1
235 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1
236 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 1
237 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 1
238 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 1
249#ifdef PJ_CONFIG_NOKIA_VAS_DIRECT
252 #define PJMEDIA_CONF_USE_SWITCH_BOARD 1
255 #define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 0
256 #define PJMEDIA_AUDIO_DEV_HAS_SYMB_APS 0
257 #define PJMEDIA_AUDIO_DEV_HAS_SYMB_VAS 1
260 #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1
263 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1
264 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1
265 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 1
266 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 1
267 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 1
276#ifdef PJ_CONFIG_WIN32_WMME_DIRECT
279 #define PJMEDIA_CONF_USE_SWITCH_BOARD 1
282 #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
283 #define PJMEDIA_AUDIO_DEV_HAS_WMME 1
286 #define PJMEDIA_HAS_PASSTHROUGH_CODECS 1
289 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMU 1
290 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_PCMA 1
291 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_AMR 0
292 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_G729 0
293 #define PJMEDIA_HAS_PASSTHROUGH_CODEC_ILBC 0
308 #define PJ_HAS_FLOATING_POINT 1
315 #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
316 #define PJMEDIA_AUDIO_DEV_HAS_WMME 0
317 #define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO 1
320 #define PJMEDIA_HAS_SPEEX_AEC 0
323 #define PJMEDIA_HAS_L16_CODEC 0
327 #define PJMEDIA_HAS_ILBC_CODEC 1
328 #define PJMEDIA_ILBC_CODEC_USE_COREAUDIO 1
331 #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5
347 #define PJSUA_DEFAULT_CODEC_QUALITY 4
350 #define PJSIP_MAX_TSX_COUNT 31
351 #define PJSIP_MAX_DIALOG_COUNT 31
352 #define PJSUA_MAX_CALLS 4
355 #define PJSUA_MAX_ACC 4
356 #define PJSUA_MAX_PLAYERS 4
357 #define PJSUA_MAX_RECORDERS 4
358 #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS)
359 #define PJSUA_MAX_BUDDIES 32
373 #undef PJ_HAS_FLOATING_POINT
374 #define PJ_HAS_FLOATING_POINT 0
381 #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
382 #define PJMEDIA_AUDIO_DEV_HAS_WMME 0
383 #define PJMEDIA_AUDIO_DEV_HAS_OPENSL 0
384 #define PJMEDIA_AUDIO_DEV_HAS_ANDROID_JNI 1
387 #define PJMEDIA_HAS_L16_CODEC 0
391 #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5
407 #define PJSUA_DEFAULT_CODEC_QUALITY 4
410 #define PJSIP_MAX_TSX_COUNT 31
411 #define PJSIP_MAX_DIALOG_COUNT 31
412 #define PJSUA_MAX_CALLS 4
418 #define PJSUA_MAX_ACC 4
419 #define PJSUA_MAX_PLAYERS 4
420 #define PJSUA_MAX_RECORDERS 4
421 #define PJSUA_MAX_CONF_PORTS (PJSUA_MAX_CALLS+2*PJSUA_MAX_PLAYERS)
422 #define PJSUA_MAX_BUDDIES 32
429#if defined(PJ_CONFIG_BB10) && PJ_CONFIG_BB10
431 #define PJSUA_DEFAULT_CODEC_QUALITY 4
432 #define PJMEDIA_HAS_LEGACY_SOUND_API 0
433 #undef PJMEDIA_HAS_SPEEX_AEC
434 #define PJMEDIA_HAS_SPEEX_AEC 0
435 #undef PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO
436 #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
437 #undef PJMEDIA_AUDIO_DEV_HAS_ALSA
438 #define PJMEDIA_AUDIO_DEV_HAS_ALSA 0
445#ifdef PJ_CONFIG_MINIMAL_SIZE
447# undef PJ_OS_HAS_CHECK_STACK
448# define PJ_OS_HAS_CHECK_STACK 0
449# define PJ_LOG_MAX_LEVEL 0
450# define PJ_HAS_ERROR_STRING 0
451# undef PJ_IOQUEUE_MAX_HANDLES
455# define PJ_IOQUEUE_MAX_HANDLES 32
456# define PJ_CRC32_HAS_TABLES 0
457# define PJSIP_MAX_TSX_COUNT 15
458# define PJSIP_MAX_DIALOG_COUNT 15
459# define PJSIP_UDP_SO_SNDBUF_SIZE 4000
460# define PJSIP_UDP_SO_RCVBUF_SIZE 4000
461# define PJMEDIA_HAS_ALAW_ULAW_TABLE 0
463#elif defined(PJ_CONFIG_MAXIMUM_SPEED)
464# define PJ_SCANNER_USE_BITWISE 0
465# undef PJ_OS_HAS_CHECK_STACK
466# define PJ_OS_HAS_CHECK_STACK 0
467# define PJ_LOG_MAX_LEVEL 3
468# define PJ_IOQUEUE_MAX_HANDLES 5000
469# define PJSIP_MAX_TSX_COUNT ((640*1024)-1)
470# define PJSIP_MAX_DIALOG_COUNT ((640*1024)-1)
471# define PJSIP_UDP_SO_SNDBUF_SIZE (24*1024*1024)
472# define PJSIP_UDP_SO_RCVBUF_SIZE (24*1024*1024)
474# define PJSIP_SAFE_MODULE 0
475# define PJ_HAS_STRICMP_ALNUM 0
476# define PJSIP_UNESCAPE_IN_PLACE 1
478# if defined(PJ_WIN32) || defined(PJ_WIN64)
479# define PJSIP_MAX_NET_EVENTS 10
482# define PJSUA_MAX_CALLS 512
PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.
|