- fixed wrong doxygen comment for pj_list_empty() function (thanks Roman Puls for the report!)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2872 74dad513-b988-da41-8d7b-12977e46ad98
- destroy the media subsystem after busy_sleep(1000) in the shutdown sequence
- also handle the case when OPTIONS arrives just when PJSUA-LIB is being initialized and media transport is not ready (in this case just reply OPTIONS without message body)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2871 74dad513-b988-da41-8d7b-12977e46ad98
- introducing flip-flop pools in the pjsip_inv_session. There are two additional pools created, and one of them will be reset everytime SDP negotiation is done to release memory back to the OS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2869 74dad513-b988-da41-8d7b-12977e46ad98
PJSUA-LIB:
- New fields in pjsua_config to specify more than one STUN servers (the stun_srv_cnt and stun_srv array)
- The existing stun_host and stun_domain fields are deprecated, but backward compatibility is maintained. If stun_srv_cnt is zero, the library will import the entries from stun_host and stun_domain
- The library will now resolve the STUN server entries one by one and test it before using it
- New auxiliary API pjsua_resolve_stun_servers() to perform resolution and test against array of STUN servers
pjsua application:
- The "stun-srv" command line options can now be specified more than once
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2864 74dad513-b988-da41-8d7b-12977e46ad98
- Updated build config for VS6, Symbian, and Makefile for Session Timer.
- Fixed C/C++ cross-linking problem on some compilers (e.g: Symbian GCCE).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2861 74dad513-b988-da41-8d7b-12977e46ad98
- Renamed pjsip_timer_default_setting() to pjsip_timer_setting_default().
- Updated session timer settings in pjsua-lib as whole session timer setting struct (pyhton version remains using se & min_se).
- Added output param SIP status code in pjsip_timer_process_resp() and pjsip_timer_process_req() to specify the corresponding SIP status code when function returning non-PJ_SUCCESS.
- Fixed print header functions in sip_timer.c to have buffer check.
- Added PJSIP_SESS_TIMER_DEF_SE setting to specify the default value of session timer interval.
- Fixed role reference of the refresher, it is transaction role, not dialog role.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2859 74dad513-b988-da41-8d7b-12977e46ad98
- Initial version of Session Timers (RFC 4028).
- Added new options in pjsua app to configure Session Timers settings.
- Added python tests for Session Timers.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2858 74dad513-b988-da41-8d7b-12977e46ad98
- Updated semantic of contact param in functions pjsip_dlg_create_uac(), pjsip_dlg_create_uas(), pjsip_endpt_create_request() and also variable pjsua_acc.contact to be Contact header value (was Contact URI).
- Updated docs related to above modifications.
- Fixed pjsua_im_send() in generating contact header, it should use pjsua_acc.contact instead, if it is set.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2855 74dad513-b988-da41-8d7b-12977e46ad98
- Added feature to temporarily suspend the logging facility while we're in the pj_log() function. The suspension will be thread specific if the platform supports it.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2853 74dad513-b988-da41-8d7b-12977e46ad98
- Changed semantic of pjsua_acc_config.contact_params, it is now used for specifying Contact header parameters (it was used for specifying Contact URI parameters).
- Added a new field pjsua_acc_config.contact_uri_params, for specifying Contact URI parameters.
- Added fields pjsua_acc_config.contact_params and pjsua_acc_config.contact_uri_params into python pjsua.
- Updated/added option in pjsua app to specify Contact header parameters and Contact URI parameters.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2852 74dad513-b988-da41-8d7b-12977e46ad98
WSOLA improvements:
- Introduce fade-out and fade-in effect
- Limit the number of continuous synthetic samples (only take effect when fading is used)
- Export many settings as macros:
- PJMEDIA_WSOLA_DELAY_MSEC (was HANNING_PTIME)
- PJMEDIA_WSOLA_TEMPLATE_LENGTH_MSEC (was TEMPLATE_PTIME)
- PJMEDIA_WSOLA_MAX_EXPAND_MSEC
PLC:
- added compile time macro PJMEDIA_WSOLA_PLC_NO_FADING to disable fading (default enabled)
Stream:
- fixed bug when stream is not PLC-ing subsequent packet loss (only the first)
- also add maximum PLC limit just as precaution if PLC doesn't limit number of synthetic frames
- unrelated: fixed warning about unused send_keep_alive() function
Delaybuf:
- modified to NOT use fading in WSOLA since we don't expect it to generate many continuous synthetic frames
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2850 74dad513-b988-da41-8d7b-12977e46ad98
- This ticket allows the same loop media transport instance to be attached to more than one streams, and allow application to control which stream(s) receives the reflected packets.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2845 74dad513-b988-da41-8d7b-12977e46ad98
- Added support for Nokia VAS 2.0.
- Fixed wrong value assigned to last downstream state var in downstream callback.
- Minor fix in config_site_sample.h related to VAS Direct setting.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2833 74dad513-b988-da41-8d7b-12977e46ad98
- Added a new API pjmedia_codec_passthrough_init2().
- Updated the initialization steps of passthrough codec in pjsua_media.c, to configure the codecs (of passthrough codec) to be enabled based on audio device extended/encoded formats.
- Minor update: added passthrough.h into pjmedia_codec.vcproj.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2825 74dad513-b988-da41-8d7b-12977e46ad98
- added SIPp scenario for scenario when the first NOTIFY immediately terminates the subscription
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2823 74dad513-b988-da41-8d7b-12977e46ad98
- fixed the bug by not processing the NOTIFY if the subscription is already terminated
- also added SIPp scenario to reproduce the bug
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2822 74dad513-b988-da41-8d7b-12977e46ad98
- Added new audio device VAS for Symbian platform.
- Updated symsndtest to use the latest audio device framework.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2821 74dad513-b988-da41-8d7b-12977e46ad98