summaryrefslogtreecommitdiff
path: root/pjmedia/include
AgeCommit message (Collapse)Author
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-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-01-29Ticket #1028:Nanang Izzuddin
- Updated codecs docs, more detail info about codec settings. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3083 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-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
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-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-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-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-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-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-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-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-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-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-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-04Ticket #879:Nanang Izzuddin
- Added pjmedia synchronizer port. - Updated affected components, i.e: sound port, AEC, conference bridge. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2747 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-01Ticket #834:Nanang Izzuddin
- Added calls to delay buf destructor in conference.c and echo_common.c. - Moved mutex creation to the end of pjmedia_delay_buf_create(). - Deprecated pjmedia_conf_add_passive_port(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2728 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06Ticket #774: Minor update in G722.1 default setting in pjmedia codec's ↵Nanang Izzuddin
config.h: removed phrase 'under development', G722.1 remains disabled by default. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2680 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-20More ticket #774: added option to shift PCM input to encoder right by some ↵Benny Prijono
value (default is 1) to make it compatible with some other app git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2620 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-15Ticket #774:Nanang Izzuddin
- Added build config for GNU autoconf & make. - Fixed some G.722.1 codes for linux & mingw32 targets, e.g: types defs, collision function name 'round'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2601 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-14Ticket #788: Updated pjsua_media_subsys_init() to perform SRTP library ↵Nanang Izzuddin
initialization. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2597 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06Ticket #762: Major updates on jitter buffer:Nanang Izzuddin
- Updated loop condition in put_frame() to avoid possibility of infinite loop. - Added JB capabilities to handle sequence restart & jump. - Updated jitter calculation, e.g: reset max_hist_level after updating prefetch, avoid updating prefetch when burst level is exceeding max_burst. - Updated shrinking method to be less agressive (only shrink JB when JB size is twice larger than burst level). - Updated the way JB switching status from 'initializing' to 'processing' by waiting for some OP switch cycles. - Few simplifications in framelist process, e.g: replacing fields 'empty' & 'tail' with 'size'. - Minor updates: comments, shortened framelist field names, added some JB states for reporting/monitoring purpose. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2578 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-01Ticket #774:Nanang Izzuddin
- Initial source of G.722.1/Annex C integration. - Disabled some "odd" modes of L16 codec (11kHz & 22kHz mono & stereo) while releasing some payload types. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2563 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-18APS-direct fix (ticket #738): G.711 is disabled accidentlyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2521 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12(Major) Task #737 and #738: integration of APS-Direct and Audiodev from ↵Benny Prijono
aps-direct branch to trunk. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-05Ticket #680:Nanang Izzuddin
- Fixed Symbian APS G.711 frame size variation issue. - Fixed APS implementation to regard 'samples_per_frame' setting. - Added APIs for u-law/a-law <-> PCM bulk conversions. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2416 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23Updated copyright notice in all files to Teluu Inc., and changed the year as ↵Benny Prijono
well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-18Cleaned up compile warnings (on gcc 4.0.1).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2386 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-19Ticket #676: Updated default value of maximum silence theshold setting to ↵Nanang Izzuddin
MAXUINT16+1 (feature is disabled). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2368 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-11Ticket #670: Minor update on naming of AMR helper and updated AMR in IPP ↵Nanang Izzuddin
codecs to enable octet-align from FMTP settings. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2363 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-29Ticket #670:Nanang Izzuddin
- Configurable setting to enable/disable AMR bitstream reordering (sensitivity order to/from encoder bits order). - Updated AMR codec to regard in-band Change Mode Request from remote encoder. - Updated AMR settings (octet-align, etc) to be configured upon codec opening, instead of hardcoded in the encode, decode, parse. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2359 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-28Ticket #670: Added AMR codec helper and updated IPP codecs to use the AMR ↵Nanang Izzuddin
codec helper. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2358 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24Ticket #638: Reenable prefetch buffering via initial prefetch setting (set 0 ↵Nanang Izzuddin
to disable, otherwise to enable). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2317 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24Ticket #642: Discontinuous tone generation (thanks Olle Frimanson for the ↵Benny Prijono
report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2313 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18More ticket #619: changed default Cordic loop from 8 to 10 to gain more ↵Benny Prijono
accuracy, and updated tonegen.c with the results from ARM9 tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2294 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18Ticket #631:Nanang Izzuddin
- Changed rem_rtp/rtcp_addr to src_rtp/rtcp_addr in media transport info - Updated behaviour of media transport get info, when the transport hasn't receive any packet src_rtp/rtcp_addr will not be set. - Fixed bug in pjsua_call_dump that rem_addr was unset. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2293 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18Large reorganization of the tonegen for ticket #619:Benny Prijono
- Deprecate the automatic selection of algorithm - Introduced various constants for tonegen backends - Allow user to specify/override the algorithm by setting - Fix the floating-point approximation backend git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2292 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-17Ticket #631:Nanang Izzuddin
- Added new fields in media transport info: remote address originating RTP & RTCP. - Updated transport UDP & ICE to fill above fields in getting transport info. - Updated pjsua call dump, instead of showing remote RTP address from SDP, it will show address of RTP originator. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2291 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-17Ticket #630: Added Win32 MME sound device wrapper (thanks Seth Hinze for the ↵Nanang Izzuddin
patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2290 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16More ticket #619: fix the difference of volume in the fixed point version of ↵Benny Prijono
the tone generator, added PJMEDIA_TONEGEN_VOLUME setting to control the default amplitude, and increase default tone volume by about 50% git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2284 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16Ticket #619: added configuration to force floating point algorithm to be ↵Benny Prijono
used in the tone generator, and added fade-in and fade out options git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2281 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-11Ticket #616: Updated ICE transport to have a default option to switch RTP ↵Nanang Izzuddin
transmission to source address if remote doesn't use ICE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2276 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-11Ticket #614: Updated docs related to support for play/record G.711 U-law/A-law.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2275 74dad513-b988-da41-8d7b-12977e46ad98