activesock.h   activesock.h 
/* $Id: activesock.h 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: activesock.h 3299 2010-08-27 06:46:29Z ming $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 300 skipping to change at line 300
* Close the active socket. This will unregister the socket from the * Close the active socket. This will unregister the socket from the
* ioqueue and ultimately close the socket. * ioqueue and ultimately close the socket.
* *
* @param asock The active socket. * @param asock The active socket.
* *
* @return PJ_SUCCESS if the operation has been successful, * @return PJ_SUCCESS if the operation has been successful,
* or the appropriate error code on failure. * or the appropriate error code on failure.
*/ */
PJ_DECL(pj_status_t) pj_activesock_close(pj_activesock_t *asock); PJ_DECL(pj_status_t) pj_activesock_close(pj_activesock_t *asock);
#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \
PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0
/**
* Set iPhone OS background mode setting. Setting to 1 will enable TCP
* active socket to receive incoming data when application is in the
* background. Setting to 0 will disable it. Default value of this
* setting is PJ_ACTIVESOCK_TCP_IPHONE_OS_BG.
*
* @param asock The active socket.
* @param val The value of background mode setting.
*
*/
PJ_DECL(void) pj_activesock_set_iphone_os_bg(pj_activesock_t *asock,
int val);
#endif
/** /**
* Associate arbitrary data with the active socket. Application may * Associate arbitrary data with the active socket. Application may
* inspect this data in the callbacks and associate it with higher * inspect this data in the callbacks and associate it with higher
* level processing. * level processing.
* *
* @param asock The active socket. * @param asock The active socket.
* @param user_data The user data to be associated with the active * @param user_data The user data to be associated with the active
* socket. * socket.
* *
* @return PJ_SUCCESS if the operation has been successful, * @return PJ_SUCCESS if the operation has been successful,
 End of changes. 2 change blocks. 
1 lines changed or deleted 17 lines changed or added


 config_auto.h   config_auto.h 
/* pjmedia/include/pjmedia/config_auto.h. Generated from config_auto.h.in by configure. */ /* pjmedia/include/pjmedia/config_auto.h. Generated from config_auto.h.in by configure. */
/* $Id: config_auto.h.in 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: config_auto.h.in 3295 2010-08-25 12:51:29Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 config_auto.h.in   config_auto.h.in 
/* $Id: config_auto.h.in 2394 2008-12-23 17:27:53Z bennylp $ */ /* $Id: config_auto.h.in 3295 2010-08-25 12:51:29Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 config_site_sample.h   config_site_sample.h 
skipping to change at line 316 skipping to change at line 316
/* We have our own native CoreAudio backend */ /* We have our own native CoreAudio backend */
#define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0 #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 0
#define PJMEDIA_AUDIO_DEV_HAS_WMME 0 #define PJMEDIA_AUDIO_DEV_HAS_WMME 0
#define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO 1 #define PJMEDIA_AUDIO_DEV_HAS_COREAUDIO 1
/* The CoreAudio backend has built-in echo canceller! */ /* The CoreAudio backend has built-in echo canceller! */
#define PJMEDIA_HAS_SPEEX_AEC 0 #define PJMEDIA_HAS_SPEEX_AEC 0
/* Disable some codecs */ /* Disable some codecs */
#define PJMEDIA_HAS_L16_CODEC 0 #define PJMEDIA_HAS_L16_CODEC 0
#define PJMEDIA_HAS_ILBC_CODEC 0
#define PJMEDIA_HAS_G722_CODEC 0 #define PJMEDIA_HAS_G722_CODEC 0
/* Use the built-in CoreAudio's iLBC codec (yay!) */
#define PJMEDIA_HAS_ILBC_CODEC 1
#define PJMEDIA_ILBC_CODEC_USE_COREAUDIO 1
/* Fine tune Speex's default settings for best performance/quality */ /* Fine tune Speex's default settings for best performance/quality */
#define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 #define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5
/* /*
* PJSIP settings. * PJSIP settings.
*/ */
/* Increase allowable packet size, just in case */ /* Increase allowable packet size, just in case */
//#define PJSIP_MAX_PKT_LEN 2000 //#define PJSIP_MAX_PKT_LEN 2000
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added


 m_auto.h   m_auto.h 
/* pjlib/include/pj/compat/m_auto.h. Generated from m_auto.h.in by configu re. */ /* pjlib/include/pj/compat/m_auto.h. Generated from m_auto.h.in by configu re. */
/* $Id: m_auto.h.in 2510 2009-03-13 12:15:43Z bennylp $ */ /* $Id: m_auto.h.in 3295 2010-08-25 12:51:29Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 m_auto.h.in   m_auto.h.in 
/* $Id: m_auto.h.in 2510 2009-03-13 12:15:43Z bennylp $ */ /* $Id: m_auto.h.in 3295 2010-08-25 12:51:29Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 os_auto.h   os_auto.h 
/* pjlib/include/pj/compat/os_auto.h. Generated from os_auto.h.in by confi gure. */ /* pjlib/include/pj/compat/os_auto.h. Generated from os_auto.h.in by confi gure. */
/* $Id: os_auto.h.in 3240 2010-07-23 04:27:32Z ming $ */ /* $Id: os_auto.h.in 3299 2010-08-27 06:46:29Z ming $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 173 skipping to change at line 173
/* Unicode? */ /* Unicode? */
#define PJ_NATIVE_STRING_IS_UNICODE 0 #define PJ_NATIVE_STRING_IS_UNICODE 0
/* Pool alignment in bytes */ /* Pool alignment in bytes */
#define PJ_POOL_ALIGNMENT 4 #define PJ_POOL_ALIGNMENT 4
/* The type of atomic variable value: */ /* The type of atomic variable value: */
#define PJ_ATOMIC_VALUE_TYPE long #define PJ_ATOMIC_VALUE_TYPE long
/* Append ".local" suffix to the system's hostname? */
#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0
# include "TargetConditionals.h" # include "TargetConditionals.h"
# if TARGET_OS_IPHONE # if TARGET_OS_IPHONE
# include "Availability.h" # include "Availability.h"
# ifdef __IPHONE_4_0 # ifdef __IPHONE_4_0
# define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX 1 /* Append ".local" suffix to the system's hostname? (see ticket
#1104) */
# define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX 1
/* Is multitasking support available? (see ticket #1107) */
# define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 1
/* Enable activesock TCP background mode support */
# define PJ_ACTIVESOCK_TCP_IPHONE_OS_BG 1
# endif # endif
# endif # endif
#endif #endif
/* If 1, use Read/Write mutex emulation for platforms that don't support it */ /* If 1, use Read/Write mutex emulation for platforms that don't support it */
#define PJ_EMULATE_RWMUTEX 0 #define PJ_EMULATE_RWMUTEX 0
/* If 1, pj_thread_create() should enforce the stack size when creating /* If 1, pj_thread_create() should enforce the stack size when creating
* threads. * threads.
* Default: 0 (let OS decide the thread's stack size). * Default: 0 (let OS decide the thread's stack size).
 End of changes. 3 change blocks. 
3 lines changed or deleted 8 lines changed or added


 os_auto.h.in   os_auto.h.in 
/* $Id: os_auto.h.in 3240 2010-07-23 04:27:32Z ming $ */ /* $Id: os_auto.h.in 3299 2010-08-27 06:46:29Z ming $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 172 skipping to change at line 172
/* Unicode? */ /* Unicode? */
#undef PJ_NATIVE_STRING_IS_UNICODE #undef PJ_NATIVE_STRING_IS_UNICODE
/* Pool alignment in bytes */ /* Pool alignment in bytes */
#undef PJ_POOL_ALIGNMENT #undef PJ_POOL_ALIGNMENT
/* The type of atomic variable value: */ /* The type of atomic variable value: */
#undef PJ_ATOMIC_VALUE_TYPE #undef PJ_ATOMIC_VALUE_TYPE
/* Append ".local" suffix to the system's hostname? */
#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0
# include "TargetConditionals.h" # include "TargetConditionals.h"
# if TARGET_OS_IPHONE # if TARGET_OS_IPHONE
# include "Availability.h" # include "Availability.h"
# ifdef __IPHONE_4_0 # ifdef __IPHONE_4_0
# define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX 1 /* Append ".local" suffix to the system's hostname? (see ticket
#1104) */
# define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX 1
/* Is multitasking support available? (see ticket #1107) */
# define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 1
/* Enable activesock TCP background mode support */
# define PJ_ACTIVESOCK_TCP_IPHONE_OS_BG 1
# endif # endif
# endif # endif
#endif #endif
/* If 1, use Read/Write mutex emulation for platforms that don't support it */ /* If 1, use Read/Write mutex emulation for platforms that don't support it */
#undef PJ_EMULATE_RWMUTEX #undef PJ_EMULATE_RWMUTEX
/* If 1, pj_thread_create() should enforce the stack size when creating /* If 1, pj_thread_create() should enforce the stack size when creating
* threads. * threads.
* Default: 0 (let OS decide the thread's stack size). * Default: 0 (let OS decide the thread's stack size).
 End of changes. 3 change blocks. 
3 lines changed or deleted 8 lines changed or added


 port.h   port.h 
/* $Id: port.h 2506 2009-03-12 18:11:37Z bennylp $ */ /* $Id: port.h 3292 2010-08-24 10:45:01Z nanang $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
skipping to change at line 214 skipping to change at line 214
pjmedia_type type; /**< Media type. */ pjmedia_type type; /**< Media type. */
pj_bool_t has_info; /**< Has info? */ pj_bool_t has_info; /**< Has info? */
pj_bool_t need_info; /**< Need info on connect? */ pj_bool_t need_info; /**< Need info on connect? */
unsigned pt; /**< Payload type (can be dynamic). */ unsigned pt; /**< Payload type (can be dynamic). */
pjmedia_format format; /**< Format. */ pjmedia_format format; /**< Format. */
pj_str_t encoding_name; /**< Encoding name. */ pj_str_t encoding_name; /**< Encoding name. */
unsigned clock_rate; /**< Sampling rate. */ unsigned clock_rate; /**< Sampling rate. */
unsigned channel_count; /**< Number of channels. */ unsigned channel_count; /**< Number of channels. */
unsigned bits_per_sample; /**< Bits/sample */ unsigned bits_per_sample; /**< Bits/sample */
unsigned samples_per_frame; /**< No of samples per frame. */ unsigned samples_per_frame; /**< No of samples per frame. */
unsigned bytes_per_frame; /**< No of samples per frame. */ unsigned bytes_per_frame; /**< No of bytes per frame. */
} pjmedia_port_info; } pjmedia_port_info;
/** /**
* Port interface. * Port interface.
*/ */
typedef struct pjmedia_port typedef struct pjmedia_port
{ {
pjmedia_port_info info; /**< Port information. */ pjmedia_port_info info; /**< Port information. */
/** Port data can be used by the port creator to attach arbitrary /** Port data can be used by the port creator to attach arbitrary
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 sip_autoconf.h   sip_autoconf.h 
/* pjsip/include/pjsip/sip_autoconf.h. Generated from sip_autoconf.h.in by configure. */ /* pjsip/include/pjsip/sip_autoconf.h. Generated from sip_autoconf.h.in by configure. */
/* $Id: sip_autoconf.h.in 2973 2009-10-28 06:09:15Z nanang $ */ /* $Id: sip_autoconf.h.in 3295 2010-08-25 12:51:29Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 sip_autoconf.h.in   sip_autoconf.h.in 
/* $Id: sip_autoconf.h.in 2973 2009-10-28 06:09:15Z nanang $ */ /* $Id: sip_autoconf.h.in 3295 2010-08-25 12:51:29Z bennylp $ */
/* /*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org> * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/