summaryrefslogtreecommitdiff
path: root/pjmedia/include/pjmedia-codec
AgeCommit message (Collapse)Author
2016-05-17Re #1920: Check for libavformat instead of libavcodec when settingRiza Sulistyo
PJMEDIA_HAS_FFMPEG_CODEC. ffmpeg_vid_codecs.c has a compile-time guard of PJMEDIA_HAS_FFMPEG_VID_CODEC which is PJMEDIA_HAS_FFMPEG_CODEC which is PJMEDIA_HAS_LIBAVCODEC. However, the code requires libavutil, libavcodec, and libavformat. In Ubuntu (and Debian), the package libavformat-dev contains libavcodec-dev and libavutil-dev. Not the other way around. Therefore, the current compile-time guard is not sufficient and should check PJMEDIA_HAS_LIBAVFORMAT instead. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5304 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-04Fixed #1904: Support for Opus codecLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5239 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-22Re #1843: Fixed unused variable warning when using OpenCore AMR (thanks to ↵Liong Sauw Ming
Alexander Traud for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5075 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-09Re #1794:Nanang Izzuddin
- Updated G7221, the bitrate can also be set via param.info.avg_bps, this is applicable only when param.setting.dec_fmtp doesn't contain bitrate info. - Fixed failing codec vector test in pjmedia-test due to wrong G7221 bitrate setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5058 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-29[SIPit31] Misc (re #1782): Updated AMR parser behavior, i.e: from raising ↵Nanang Izzuddin
assertion to just printing log and also discard the whole packet, on receiving invalid AMR frame-type. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4932 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-10Re #1758: Initial implementation of OpenH264 wrapper. Supports:Benny Prijono
- library detection via autoconf - CBP - packetization modes: 0, 1 - key frame request and indication - obey remote's fmtp Also added video codec test in samples (similar to the one in pjmedia test though). And there are some fixes here and there too (e.g. in vid_codec_util.c). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4815 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29Re #1608: Fixed the way codec is initialized, enumerated, and deinit since ↵Liong Sauw Ming
both NB and WB use the same factory git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4335 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23Re #1608: Add support for OpenCORE AMR-WBLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4331 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-01More re #1586: added PJMEDIA_HAS_SILK_CODEC to config_auto.h.inBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4270 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-24Re #1586: Initial version of SILK wrapper.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4264 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23Related to re #1469: enable H.263 and H.264 by default if ffmpeg is availableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4070 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to ↵Liong Sauw Ming
PJMEDIA_HAS_FFMPEG_CODEC. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4051 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1446 (misc): Modified ffmpeg_codecs to ffmpeg_vid_codecsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4049 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Close #1279: Implemented custom SDP format match for G.722.1 and AMR-NB/WB.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3911 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-18Reenable ffmpeg H264 (re #1390):Nanang Izzuddin
- Review H264 codec settings such as profile, level, NAL unit size, bitrate, quality, latency. - Added new format PJMEDIA_FORMAT_GBRP, 24 bits planar RGB, one of the formats outputted by the latest ffmpeg H264 decoder. - Fixed format change detection bug in ffmpeg wrapper, decoder didn't update its internal state with the new format so format change event was generated in every decoding operation. - Added compile time configurations for enabling/disabling ffmpeg codec H263+ & H264. - Updated pjsua app to adjust window size to original video size. With H264, default window size will be too big as it is init'd with default H264 video size, e.g: 720x480 for profile level 30. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3819 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-29Closed #1361: codec API change. Details:Benny Prijono
- changed encode(), packetize(), unpacketize(), and decode() to encode_begin(), encode_more(), and decode() - codec has new "packing" setting - updated stream, aviplay, codec-test, and stream-util due to above - minor doxygen documentation fixes here and there git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3776 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Fixed #1348:Nanang Izzuddin
- updated the year in all copyright texts with 2011 - put copyright text into newly added files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3715 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326:Nanang Izzuddin
- Fixed compile warnings on vs2005 - Fixed compile error when PJMEDIA_HAS_VIDEO set to 0 on vs2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3666 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326: Initial code integration from branch 2.0-dev to trunk as ↵Nanang Izzuddin
"2.0-pre-alpha-svn". git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3664 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
2010-10-28Fix #1153: Fixed missing header dependency in pjmedia-codec/types.h, it ↵Nanang Izzuddin
should include pjmedia/codec.h git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3358 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-14Misc (re #1134): changed dynamic payload type starting value for internal ↵Benny Prijono
codecs to 96 (from 101) as we are running out of constants. Also added more comments to clarify the restriction on the value, i.e. it must be less than 128 (thanks Robbie Hanson for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3345 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-30Re #1134 (misc fixes): fixed various doxygen warnings, as well as added ↵Benny Prijono
overview section in pjmedia documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3327 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-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-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-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-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-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-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-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-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-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
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-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-08-25Ticket #599:Nanang Izzuddin
- Added "dec_fmtp" and "enc_fmtp" fields to pjmedia_codec_param.setting. - Codec factory puts its default parameters in "dec_fmtp" field. - pjmedia_stream_info_from_sdp() puts the "fmtp" attribute in SDP to pjmedia_codec_param. - Special treatment for fmtp "bitrate" parameter (of G722.1) during SDP negotiation - Added maxptime field in stream_info. - Replaced iLBC's fmtp "mode" implementation to use general fmtp mechanism. - Added some test scripts for G722.1 bitrate negotiation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2236 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-19More ticket #583: a bit of tidying up and renamed macro names etc.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2225 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-16Ticket #583:Nanang Izzuddin
- Added codec AMR-WB - Updated AMR & AMRWB to utilize quality flag in the AMR payload header - Updated callback interface (frm_attr_cb() -> predecode_cb()) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2219 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-15Ticket #583:Nanang Izzuddin
- rearranged some codec properties, e.g: codec name, enable/disable, payload type - fixed bug VAD setting on init USC codec git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2218 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-15Ticket #583: Initial source of IPP codecs wrapper.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2216 74dad513-b988-da41-8d7b-12977e46ad98