21 | | * Most third party libraries now live in their own projects, separate from {{{pjmedia}}} or {{{pjmedia-codec}}}. There are few new libraries, under {{{third_party}}} directory: |
22 | | * {{{libportaudio}}}, for PortAudio. |
23 | | * {{{libgsmcodec}}}, for GSM codec. |
24 | | * {{{libilbccodec}}}, for ILBC codec. |
25 | | * {{{libspeex}}}, for Speex library. |
26 | | * {{{libresample}}}, for the resampling library. |
| 21 | * All third party libraries now are separated from {{{pjmedia}}} or {{{pjmedia-codec}}} into their own directory, so that it would be easier to maintain (synchronize with the original source). They now live in '''{{{third_party}}}''' directory. |
33 | | === All Applications === |
| 29 | The PJMEDIA specific build files for !PortAudio is located under '''{{{third_party/build/portaudio}}}''' directory. |
| 30 | |
| 31 | === Speex === |
| 32 | |
| 33 | Speex now lives in '''{{{third_party/speex}}}''' directory, and is directly synch-ed to main Speex SVN ({{{trunk, although it's locked to a specific revision). This arrangement would make it easy to synchronize !PortAudio with their development. |
| 34 | |
| 35 | The PJMEDIA specific build files for Speex is located under '''{{{third_party/build/speex}}}''' directory. |
| 36 | |
| 37 | === GSM Codec === |
| 38 | |
| 39 | The GSM codec now lives in '''{{{third_party/gsm}}}''' directory, and the content is taken from GSM tarball release. |
| 40 | |
| 41 | The PJMEDIA specific build files for GSM is located under '''{{{third_party/build/gsm}}}''' directory. |
| 42 | |
| 43 | |
| 44 | === iLBC Codec === |
| 45 | |
| 46 | The iLBC codec now lives in '''{{{third_party/ilbc}}}''' directory, and the content is taken from iLBC RFC. |
| 47 | |
| 48 | The PJMEDIA specific build files for iLBC is located under '''{{{third_party/build/ilbc}}}''' directory. |
| 49 | |
| 50 | |
| 51 | |
| 52 | === Resample === |
| 53 | |
| 54 | The resampling library now lives in '''{{{third_party/resample}}}''' directory, and the implementation was based on {{{libresample-1.7}}}, but was modified (unfortunately I couldn't find the original libresample-1.7.tar.gz anymore, so most original files that comes with the original library are missing). |
| 55 | |
| 56 | The PJMEDIA specific build files for resample is located under '''{{{third_party/build/resample}}}''' directory. |
| 57 | |
| 58 | In addition, PJMEDIA now also supports the sample rate converter in Speex. |
| 59 | |
| 60 | To control which resampling back-end to be used in PJMEDIA, declare either of these macros in your {{{config_site.h}}}: |
| 61 | * {{{PJMEDIA_HAS_LIBRESAMPLE=1}}}, which is the default. |
| 62 | * {{{PJMEDIA_HAS_SPEEX_RESAMPLE=1}}}, if you want to try Speex resampler. |
| 63 | |
| 64 | === PLC === |
| 65 | |
| 66 | Support for PLC (Packet Loss Concealment) implementation that is based on Steve Underwood's SpanDSP work has been removed. Now PJMEDIA will only use PLC that is built-in with the codec, which means that this feature is only available for Speex and iLBC codec. |
| 67 | |
| 68 | === MP3 File Writer === |
| 69 | |
| 70 | Support for encoding/writing MP3 file (the MP3 file writer port) has been removed from PJMEDIA. If application wants this, it can get the original files from '''{{{third_party/mp3}}}''' directory. |
| 71 | |
| 72 | |
| 73 | |
| 74 | = Migrating Your Application = |
| 75 | |
| 76 | == All Applications == |