summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-codec
AgeCommit message (Collapse)Author
2012-04-20Fix #1490: frame type 15, instead of 14, should be assigned for zero length ↵Nanang Izzuddin
AMR-NB frames. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4063 74dad513-b988-da41-8d7b-12977e46ad98
2011-11-02Fix #1413: Fix G722.1 encoder to handle multiple frames per packet.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3880 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Fix #1410: Nanang Izzuddin
- Fixed bug in ipp_codecs.c pack_amr() in setting up AMR-WB frame size, i.e: using AMR-NB frame size table instead of AMR-WB's. - Updated AMR-WB default setting to use two frames-per-packet. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3879 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Misc (re #1252): error compiling the IPP wrapper if AMR-WB is enabled but ↵Benny Prijono
AMR-NB is disabled. Thanks Olle Frimanson for the report git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3845 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-14Support for OpenCORE AMR-NB codec on Windows. This closes #1388Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3817 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-14Committing re #1388: Support for OpenCORE AMR-NB codec (thank you Dan ↵Benny Prijono
Arrhenius for the contribution!) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3816 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-20Fixed #1307:Nanang Izzuddin
- Fixed AMR NO_DATA frame length definition in amr_helper.h. - Fixed bug packing/parsing AMR SID frames in processing SID type indicator (STI). - Enabled native VAD in IPP AMR-NB. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3589 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-22Re #1200: updated IPP codecs to support IPP v7.0 on MSVC, only include ↵Nanang Izzuddin
"ippsr.lib" in auto link when IPP major version is 6 or below. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3417 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-18Fix #1199:Nanang Izzuddin
- Modified G722 frame time to 10ms (was 20ms) and frame per packet to 2 (was 1). - Updated the detection mechanism of remote G722 frame-length in the stream to be flexible to any G722 frame length setting (was assumed to be always 20ms). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3416 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-03Misc (re #1151): fixed the compile time switch to use iLBC codec on iPhoneBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3362 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Fix #1112: fixed IPP G.729 codec to update the application regarding VAD ↵Nanang Izzuddin
status, disabled/off, after receiving 'fmtp:18 annexb=no' in the SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3288 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Re #1106: Reverted back the IPP codec APIs ↵Nanang Izzuddin
pjmedia_codec_ipp_set/get_config() as currently to set PCM signal level adjustment can be done using the existing G722.1 API pjmedia_codec_g7221_set_pcm_shift(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3263 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-10Fix #1106:Nanang Izzuddin
- Added PCM signal adjustment in IPP G722.1 implementation. The default setting is configurable via (the existing compile-time config) PJMEDIA_G7221_DEFAULT_PCM_SHIFT. - Added new APIs to get and set IPP codecs settings: pjmedia_codec_ipp_set/get_config(). At run-time, the G722.1 PCM signal adjustment setting can be set using these functions. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3261 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-05Re #1072: fixed buffer overflow bugs introduced by r3202.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3250 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-11Close #1072:Nanang Izzuddin
- Added API pjmedia_codec_g722_set_pcm_shift() to enable configurable level-adjusment setting. - Also added macro PJMEDIA_G722_DEFAULT_PCM_SHIFT (default value is 2) to accomplish 14-16 bit PCM conversion for G722 input/output. - Added a feature in G722 to stop level-adjusment/PCM-shifting when clipping occured, compile-time configurable via PJMEDIA_G722_STOP_PCM_SHIFT_ON_CLIPPING macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3202 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-07Fix #1085:Nanang Izzuddin
- Added new codec G721, as alias for G726-32. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3199 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-26Misc (re #1068): AMR codec in IPP codecs should apply Change Mode Request ↵Nanang Izzuddin
(from AMR payload) only when it is different from current encoding mode. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3184 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Merge #1050, #1052, #1053, #1054 into the main trunk.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-11Re #1068:Nanang Izzuddin
- Fixed max frames-per-packet constants in AMR codec (IPP and passthrough) to be based on PJMEDIA_MAX_FRAME_DURATION_MS setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3165 74dad513-b988-da41-8d7b-12977e46ad98
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-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-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-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-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-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-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-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-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-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-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-02Ticket #874: Updated some pjmedia codecs to maintain timestamp.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2735 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-02Ticket #793: Updated (IPP) AMR codec to choose mode in the mode-set based on ↵Nanang Izzuddin
default mode setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2734 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-02Ticket #793: Updated (IPP) AMR codec to choose the highest mode in mode-set.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2733 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29Integration of Sipit24 branch, many tickets involved:Benny Prijono
- #793: AMR encoder should regard 'mode-set' param specified by remote decoder. - #831: Automatically switch to TCP transport when sending large request - #832: Support for outbound proxy setting without using Route header - #849: Modify conference audio switch behavior in connecting ports. - #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces). - #851: Support for regular nomination in ICE - #852: --ip-addr support for IPv6 for media transport in pjsua - #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report) - #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report) - #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice - #857: Support for ICE keep-alive with Binding indication - #858: Do not authenticate STUN 438 response - #859: AMR-WB format param in the SDP is not negotiated correctly. - #867: Return error instead of asserting when PJSUA-LIB fails to open log file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2724 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-18More ticket #774: optimization for siren7/siren14 codecsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2616 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-15Ticket #774: Minor fix, reset mode counter in g7221_init().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2603 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-06Ticket #778: Fixed IPP G722.1 codec to aware about endianness in ↵Nanang Izzuddin
packing/decoding G722.1 RTP payload. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2573 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06Ticket #774: Fixed G722.1 codec to aware about endianness in ↵Nanang Izzuddin
packing/unpacking RTP payload (the underlying implementation, ITU impl ref, works with 16-bits coded data). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2572 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-02Ticket #774: Fixed generation of G722.1 modes list in enum_codec().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2565 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-17Compilation warnings in IPP codec (misc fixes, ticket #720)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2516 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13Wrong payload type for L16/48Khz stereo codec (thanks Yann for the report)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2509 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-02-13Ticket #728: Nanang Izzuddin
- Fixed l16_open() to initialize VAD & PLC settings. - Minor fixes: updated few parts related to macro PLC_DISABLED. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2453 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-03Support for IPP version 6.0 (the usc.lib has been renamed to speech.lib for ↵Benny Prijono
Windows) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2412 74dad513-b988-da41-8d7b-12977e46ad98