summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
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-10Misc (#951): added missing bidirectional.o in PJMEDIA Makefile (thanks ↵Benny Prijono
Thomas Falk for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3004 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-29Ticket #983: make native WMME the default audio device on Windows and ↵Benny Prijono
Windows Mobile: - increase default playback latency (PJMEDIA_SND_DEFAULT_PLAY_LATENCY) to 140ms for Win32 and 160ms for WM - set default PJMEDIA_SOUND_BUFFER_COUNT to (PJMEDIA_SND_DEFAULT_PLAY_LATENCY+20)/20 rather than hardcoded 6 - disable PA from audiodev on Win32 and WM git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2977 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-29Misc fix (#951): Fixed pjmedia Makefile build config to clean ↵Nanang Izzuddin
pjmedia-audiodev component properly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2975 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-13Misc (#915): Benny Prijono
- updated missing doxygen documentation from various PJMEDIA-CODEC headers git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2875 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
2009-07-29Ticket #924: Loop media transport now allows more than one streams to ↵Benny Prijono
receive the reflected packets - 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: http://svn.pjsip.org/repos/pjproject/trunk@2845 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-29Ticket #923: New API to retrieve current jitter buffer state from a ↵Benny Prijono
stream/session - added pjmedia_session_get_stream_stat_jbuf() and pjmedia_session_get_stream_stat_jbuf() - fixed const correctness in pjmedia_jbuf_get_state(), jb_framelist_size(), and pj_math_stat_get_stddev(), - modify the jitter buffer statistic log message printed by stream (it contains newlines) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2844 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-18Misc (#915): added WAVE_FORMAT_DIRECT flag when opening waveIn/Out in WMME ↵Benny Prijono
audio dev, hopefully it can reduce latency git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2841 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-15Ticket #919:Nanang Izzuddin
- Added default ilbc mode into codec passthrough setting. - Added iLBC mode 'negotiation' in iLBC codec_open(). - Updated stream_create() to prioritize codec_open(), that may update the codec params, over stream initializations involving codec params. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2834 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-14Ticket #909:Nanang Izzuddin
- 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: http://svn.pjsip.org/repos/pjproject/trunk@2833 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-14Ticket #918: Added C compatible declarations in modules: G.711, transport ↵Nanang Izzuddin
SRTP, libresample. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2832 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Ticket #910:Nanang Izzuddin
- 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: http://svn.pjsip.org/repos/pjproject/trunk@2825 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Ticket #909:Nanang Izzuddin
- Added new audio device VAS for Symbian platform. - Updated symsndtest to use the latest audio device framework. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2821 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-19Misc (#838): don't print error if MDA MaiscRecordComplete() or ↵Benny Prijono
MaoscPlayComplete() returns KErrCancel (-3) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2777 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-18Ticket #895: Updated jbuf test to use defined search paths for locating test ↵Nanang Izzuddin
data file (when opening the file in working dir fails). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2776 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-16Ticket #808: Added compile time trap to avoid both implementations coexist.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2763 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-13Ticket #883: Nanang Izzuddin
- Fixed stream bug in generating RTP header for keep-alive packet with empty RTP. - Updated stream to skip suspending the VAD when PJMEDIA_STREAM_VAD_SUSPEND_MSEC is set to 0. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2761 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-13Ticket #884: Fixed codecs (that use pjmedia VAD) to avoid generating ↵Nanang Izzuddin
keep-alive frames/payload when PJMEDIA_CODEC_MAX_SILENCE_PERIOD is set to -1. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2760 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-12Ticket #883: Added user defined NAT hole-punching and keep-alive mechanism ↵Nanang Izzuddin
to media stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2759 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-09Ticket #830: Fixed noise from EC by keeping the playing frames unmodified ↵Nanang Izzuddin
(pjmedia_delay_buf_put() may modify the input frames and there is a case that the modified frames are not aligned anymore). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2757 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-07Ticket #879: Reverted back changes in r2747, r2748, r2751.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2755 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-05Ticket #844: Assertion in on_rx_rtp(transport_udp.c) possibly due to race ↵Benny Prijono
condition (thanks Peter Cai and Michael Broughton for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2753 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04More ticket #879:Benny Prijono
- updated VS6, Makefile, and Symbian .mmp project files with new file sync_port.c. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2751 74dad513-b988-da41-8d7b-12977e46ad98