summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
2006-10-21Fixed quality setting in MP3 writer (thanks Toni again)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@786 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20Changed the processing of mp3 _options in mp3 writer with regard to bit_rate ↵Benny Prijono
and quality to comply with LAME, also changed the pjsua_recorder_create() parameter to allow specifying mp3 options in one of the parameter git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@785 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19Support for MP3 recording for Win32 target. Also added "--rec-file" and ↵Benny Prijono
"--auto-rec" option in pjsua to record voice conversion. The "--rec-file" option will record to either .WAV or .MP3 depending on the file extension. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@783 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19Fixed miscellaneous warnings with gcc compilationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18Updated doxygen documentation for media transport (again)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@779 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18Updated doxygen documentation in media transportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@778 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16Removed colon from SDP attribute value [thanks Olivier Gournet]Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@775 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16Fixed bug in media UDP transport: when recv() returns error (e.g. ICMP ↵Benny Prijono
packet is received on Windows), transport will be stopped! [thanks Tomer] git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@773 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16Fixed missing #include <pjmedia/errno.h> in nullsound.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@772 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13Updated PortAudio to latest version for MacBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@770 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-12Fixed bugs in pasound.c again, this time it is suspected that two ↵Benny Prijono
input/output streams will be called by different threads, while pasound.c only expect it to be called by the same thread [thanks Norman Franke] git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@766 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11Changed pasound.c to open multiple streams when input/output are on ↵Benny Prijono
different devices git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@762 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11Fixed missing pj_snd_get_info() in nullsound.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@761 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-10Changed pasound.c to handle situation when NULL is passed as input/output ↵Benny Prijono
buffer by PortAudio git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@760 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-09Changed pasound.c to get the default sound devices from the host API's ↵Benny Prijono
default sound device rather than relying on device ID zero for the default device [thanks Norman Franke] git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@759 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03Fixed compilation error in tone generator when using fixed point.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@747 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-27Added pjmedia_snd_stream_get_info() function.Benny Prijono
** NOTE SOUND DEVICE IMPLEMENTORS: YOU'LL NEED TO IMPLEMENT THIS FUNCTION TOO *** git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@744 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-27Updated doxygen documentation on sdp_neg.hBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@743 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25Fixed misleading log message from the sound port about EC being suspended ↵Benny Prijono
when actually there's no EC being used. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@740 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25Tests with other user agents revealed some bugs whichBenny Prijono
have been fixed below: - some UAs sends "telephone-event/8000/1" instead of "telephone-event/8000", which caused SDP negotiation to fail. Fixed in sdp_neg.c. - codec name was (incorrectly) compared case-sensitively, causing negotiation to fail. Fixed in sdp_neg.c. - Also improved error reporting in SDP negotiation by introducing few more error codes. - Added Warning header in Not Acceptable response sent by pjsip_inv_session when SDP negotiation fails. - PJSUA-LIB will try to negotiate both SDPs before sending 100 response. - Fixed bug in iLBC codec when setting the mode to 30. Also: - Echo cancellation by default is disabled now since it doesn't seem to work. Further investigation needed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Updated doxygen documentation for the websiteBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Fixed few bugs that seem to have been introduced by new dialog Benny Prijono
locking algorithm: - Fixed crash in PJSUA-API when initiating client subscription - Fixed another crash in PJSUA-API when hanging-up call Also fixed SDP negotiator: - add a=inactive when rejecting media line Also increase maximum log size from 1500 to 2000 since some SIP packet is quite large. A little bit of Warning: ** THIS MAY AFFECT APPLICATION'S STACK USAGE ** git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-21Fixed capture device enumeration bug in DirectSound, and changed SDP ↵Benny Prijono
generation to put the IP address instead of hostname in the SDP origin field since hostname may not be setup correctly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@732 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-20Automatically suspend AEC when nothing is connected to the sound port in the ↵Benny Prijono
bridge, and resume as soon as frames are transmitted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@731 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19Fixed race condition bug when initializing SDP parser on multi-processor machineBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@730 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-18Support for reading non-canonical WAV file in WAV file player port.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@727 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17Now really checked in the new PLC software!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@724 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17Removed G.711 Annex I PLC from the source (because of possible ↵Benny Prijono
licensing/patent infringement issues) and replace it with Steve Underwood's PLC implementation which is distributed under dual GPL/LGPL license. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@723 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by ↵Benny Prijono
adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system. Also fix compile warnings in iLBC. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12Added EOF callback and get_size() in pjmedia_mem_capture port.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@706 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11Fixed bug in media UDP transport: when transport is created with create(), ↵Benny Prijono
no IP address is given. This caused get_info() to return 0.0.0.0 as the transport address. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@705 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11Added EOF callback in memory playback port.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@704 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11Fixed bug in resample port: put/get buffers are allocated with the wrong ↵Benny Prijono
size (thanks Danya) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@703 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10Fixed autoconf in mingwBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@699 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10Fixed autoconf on MacOS XBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@698 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-05Added volume control to indivual tone enqueued to the tone generator.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@694 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-02Added multi-purpose tone generator in PJMEDIA (tonegen.[hc])Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@693 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-24Just updated doxygen documentationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@690 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20Finishing autoconf work, also fixed compilation error in publish.hBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@689 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10Added pjsdp in pjmedia MakefileBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@670 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07Change set_ec_tail() API to set_ec() in sound port, also change suppressor ↵Benny Prijono
to reduce mic signal by division rather than zeroing the signal. Also moved out VAD and EC settings to config.h. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@658 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06Echo suppressor tuning and testing on WincE, and also added config_site_sample.hBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@656 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06Change the silence suppressor to use the adaptive silence detector.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@655 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06Change AEC into generic echo canceller framework with either AEC or simple ↵Benny Prijono
echo suppressor backend can be selected during runtime. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@653 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05Set to use PCMU and disable AEC for WinCE target.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@652 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05AEC and sound backend fixes:Benny Prijono
- Changed default sound backend in Windows to PortAudio - Finalizing AEC settings on Windows: - default tail is 256 msec - write AEC configuration with "dc" git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@651 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04Fixed error in setting up tail length in sound_portBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@650 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04More work on the AEC (including changes in PJSUA), embed the AEC in ↵Benny Prijono
sound_port, reduce DirectSound buffer from 32 to 16, and fixed ARM compilation for MSVC WinCE target. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@648 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04More experimentation with AEC: (1) added media port to create bidirectional ↵Benny Prijono
port from two unidirectional ports, (2) split AEC functionality into AEC algorithm (aec.h) and AEC media port (aec_port.h), (3) Added the AEC functionality in the sound_port.c. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@646 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04Removed the constness of the captured frame from pjmedia_snd_rec_cb ↵Benny Prijono
specification (experimental, to support AEC since AEC needs to modify the buffer). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@645 74dad513-b988-da41-8d7b-12977e46ad98