summaryrefslogtreecommitdiff
path: root/pjmedia/src
AgeCommit message (Collapse)Author
2010-05-01Fixed #1064:Benny Prijono
- Removed orphaned third_party/gsm/inc/gsm.h.orig file - Added support for external GSM header in /usr/include/gsm.h (rather than <gsm/gsm.h>) Thanks Christopher Zimmermann for the fixes git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3158 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-30Re #969: Fixed bug division by zero in JB progressive discard code, caused ↵Nanang Izzuddin
by possibility of uninitialized burst level after JB switches status INITIALIZING -> PROCESSING (thanks Janos Tolgyesi and Tamàs Solymosi for the report and investigation). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3154 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-26Misc #1026: moved payload type of G726-32 from static (was 2) to dynamic, ↵Nanang Izzuddin
and also disabled some more L16 codecs (thanks Bram Kuijvenhoven for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3146 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-20More on ticket #998:Benny Prijono
- fixed crash when parsing invalid SDP body, introduced by the last change git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3140 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-12Ticket #1055: Fixed possibility of APS server panic in codec detection on ↵Nanang Izzuddin
few devices, e.g:N95, by adding short delay before closing APS session. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3136 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-07More ticket #1055:Nanang Izzuddin
- Added APS codecs detection. - Minor updates in symsndtest: - added log of supported extended audio formats. - changed libraries order in symsndtest.mmp, this fixes linking error on S60 3rd MR SDK. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3135 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-07Ticket #1055: Fixed infinite loop in stopping APS after initialization failed.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3134 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-04Ticket #1008:Nanang Izzuddin
- Applied VAS AMR playback solution from Forum Nokia. - Fixed AMR playback for VAS and APS in composing DTX/NO_DATA (frame type 15) frame header. - Modified symbsndtest test application to support non-PCM audio. - Minor check fix in pjmedia_codec_mgr_destroy(), caught assertion when VAS factory init failed and media endpoint tried to destroy codec manager (codec mgr hasn't been init-ed). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3116 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-03Ticket #1042, minor updates related to AEC:Nanang Izzuddin
- Added requirement of AEC minimal latency between reference and echo in aectest sample app. - Modified AEC latency in sound port to 3/4 of playback latency. - Few cleaned up echo_common.c: unused vars, a bit stricter latency check (to be at least as much as PTIME). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3115 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-25Minor update on #969: Removed 'experimental feature' comment on progressive ↵Nanang Izzuddin
discard. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3111 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-19Implemented ticket #1038: null audio deviceLiong Sauw Ming
* pjmedia-audiodev: * implement null audio device * build: * added null audio support on MMP, and Makefile (TODO: vs6 and vs2005) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3102 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-17More ticket #1028: fixed compile error caused by corrupted version of ↵Benny Prijono
passthrough.c when re-commiting r3074 (in r3078). (note: this changeset was originally done by nanang, recheckedin due to moving svn repository) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3100 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-03Ticket #998:Nanang Izzuddin
- Updated pjmedia_sdp_parse() to apply direction attribute in session to each media that has no direction attribute (no overriding). - Added python tests. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3086 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-01Ticket #766:Nanang Izzuddin
- Applied patch provided by Bram Kuijvenhoven related to truncation issue in floating-point to integer type-casts in pjmedia components. - Original patch proposal and description can be found here: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-January/010258.html. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3085 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-28Ticket #1028 (minor):Nanang Izzuddin
- Fixed missing pjmedia_codec_mgr_destroy() in pjmedia_endpt_destroy(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3080 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Initial implementation of ticket #1016: Native Linux ALSA audio device ↵Benny Prijono
backend implementation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3079 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Ticket #1028: Recommit r3074 with updated codec.h.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3078 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-26Undo r3074 for ticket #1028 as it is missing updated codec.h hence causing ↵Benny Prijono
build errors (thanks Michael Bradley Jr for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3075 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-26Ticket #1028:Nanang Izzuddin
- Added new API pjmedia_codec_mgr_set_default_param() to set/update default codec parameter and implemented pjsua_codec_set_param() based on it. - Added mutex in codec manager to protect states manipulations. - Modified API pjmedia_codec_mgr_init() to add pool factory param. - Added new API pjmedia_codec_mgr_destroy(). - Updated passthrough codec AMR to regard peer's mode-set setting. - Fixed VAS audio device to apply AMR encoding bitrate setting. - Fixed IPP codec codec_open() to update AMR bitrate info (for stream) when AMR encoding bitrate is not using the default, e.g: requested by peer via format param 'mode-set' in SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3074 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-25Misc (#1026): missed PLC availability check in stream get_frame_ext().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3072 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-21Related to #969: make maximum PLC generated frames configurable ↵Benny Prijono
(PJMEDIA_MAX_PLC_DURATION_MSEC) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3067 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-20Ticket #969:Nanang Izzuddin
- implemented progressive discard algorithm, discard rate is calculated from ratio of effective size to effective burst level. - updated jbuf to clarify prefetch and burst level distinction, previously they are stored in same var, i.e: prefetch, while the semantic is actually different. - updated STABLE_HISTORY_LIMIT in jbuf, it is now 20 (was 100), to adjust burst level faster. - added test case of periodic-spike-burst-case in jbtest.dat for testing the new algorithm. - updated stream to limit the rate of jbuf empty/lost log messages, it will only log first empty/lost event, then log again once jbuf returning normal frame (also counter of previous empty/lost frames). - minor updates on jbuf.c: variable names, logs, added burst to jbuf state. - minor updates on jbuf_test.c: handle comment in test session header, seq jump is now 20 (was 5000). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3065 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-14More #1025 (support for using external third party libraries): Benny Prijono
- support for using external libspeex and libgsm - replaced --with-pa-path with --with-external-pa git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3062 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-14Ticket #1027: Fixed stream to skip (frame.buf!=NULL) checking when frame ↵Nanang Izzuddin
type is PJMEDIA_FRAME_TYPE_EXT before passing the frame to encoder. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3061 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13Ticket #1025: Support for using different PortAudio installation/pathBenny Prijono
- added --with-pa-path configure option - remove the use of PaUtil_SetDebugPrintFunction() since this is not always available across all PA versions (?) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3058 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-24Ticket #990:Nanang Izzuddin
- Updated VAS stream start to be synchronous. - Fixed VAS formats enumeration in factory_init() to delete VAS factory instance. - Minor fix: compile warning on 5th edition: CPjAudioEngine has virtual member but no virtual destructor. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3025 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-11Misc (#951): Put init value to var 'ftype' (somewhere) in jbuf.c to avoid ↵Nanang Izzuddin
compile warning (var used without initialization). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3015 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-11Misc (#951): Updated local SDP answer reference in sdp neg test related to ↵Nanang Izzuddin
fix in #964. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3014 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Misc (#951): compilation warnings about unused local variables in ↵Benny Prijono
passthrough codec git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2997 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Ticket #988: Aray bounds checking in SDP functions (thanks Mark Webster for ↵Benny Prijono
the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2995 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-30Misc fixes (#951): renamed mips variable in pjmedia MIPS test since it ↵Benny Prijono
conflicts with some internal name in MIPS target (thanks Antonio Anton for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2978 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Ticket #978: Fixed noise in APS G.729 playback/decoding on some devices by ↵Nanang Izzuddin
adopting G.729 SID/DTX frame handling from VAS implementation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2958 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20Fixed ticket #977: ICE does not change role to Controlling when talking to ↵Benny Prijono
ice-lite agents (thanks Amaresh Marekar for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2957 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-14Ticket #881: send UPDATE or re-INVITE after ICE negotiation, if the default ↵Benny Prijono
candidate has changed - done - added pj_ice_strans_state (to be used for informational purposes for now) - added pjmedia ICE transport specific info, and display it in call dump output - misc fixes (changed pjmedia_transport_info.spec_info_cnt from int to unsigned) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2945 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-13Ticket #968: Fixed WMME factory initialization to just return PJ_SUCCESS ↵Nanang Izzuddin
when no audio device is installed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2941 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-06Ticket #964: Assertion when receiving SDP media with port 0 and without ↵Benny Prijono
rtpmap attribute for the dynamic payload type formats (thanks Andrey Kovalenko for the report) - added SIPp scenario to test it with re-INVITE - minor: SDP parsing allow the last line without newline (required for SIPp) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2927 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-06Ticket #964:Nanang Izzuddin
- Fixed creating media answer in SDP negotation to just clone the offer (and update media direction) when media offer specifies port 0 (media inactive). - Added pjsua python test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2926 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-05Misc fix (#951): WMME dev should zero-fill WAVEFORMATEX as much as ↵Nanang Izzuddin
WAVEFORMATEX struct size, instead of just PCMWAVEFORMAT size, as it potentially leads to WAVERR_BADFORMAT when it is used in opening audio device (thanks Johan Lantz for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2925 74dad513-b988-da41-8d7b-12977e46ad98
2009-09-10Ticket #958: Fixed missing codec type check in initializing iLBC setting in ↵Nanang Izzuddin
codec_open() of passthrough codec. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2914 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-20Ticket #952: Error in calculating RTP packet extended header (thanks Thomas ↵Benny Prijono
Falk for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2904 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17More ticket #833:Benny Prijono
- special treatment in ICE media transport, since Session Timer refresh when sending re-INVITE doesn't call transport_encode_sdp(), causing the ICE media transport to mistakenly think that it's role is UAS hence it will disable current ICE session git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2896 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Fixed ticket #974: SRTP stops functioning after the library is restartedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2891 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Misc fix (ticket #915):Nanang Izzuddin
- Removed self detach() in destroy() in transport SRTP. - Added few more assertion checks in transport SRTP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2885 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-15Ticket #944: misc fixes in pjmedia_test:Benny Prijono
- Assertion in pjmedia tests's MIPS test with iLBC codec due to ptime mismatch - added compile time macro in test.h to enable/disable specific tests - also added SVN keyword expansion attributes to the source files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2882 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-15More ticket #924: removed assertion in detach() since SRTP transport calls ↵Benny Prijono
this function with NULL argument (in transport_srtp.c:792) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2881 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-15Misc fixes (ticket #915): added more search paths for jbtest.datBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2880 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-13Ticket #886:Nanang Izzuddin
- Added C++ wrapper files for C source files using exception (PJ_TRY & PJ_THROW). - Updated Symbian MMPs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2873 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-01Misc fixes (ticket #915): compilation warning in IPP about conversion from ↵Benny Prijono
int to char git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2851 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-01Initial commit for ticket #929: Improve packet lost concealment (PLC) when ↵Benny Prijono
handling burst of lost packets 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: http://svn.pjsip.org/repos/pjproject/trunk@2850 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-30Ticket #926 (SDP compliance with RFC 4566): updated token definition, which ↵Benny Prijono
allows more characters git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2847 74dad513-b988-da41-8d7b-12977e46ad98