Changes between Version 5 and Version 6 of Migration From 0.5 Version To 0.6 Version


Ignore:
Timestamp:
Apr 8, 2007 12:02:47 PM (17 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Migration From 0.5 Version To 0.6 Version

    v5 v6  
    11= Migration From 0.5 Version To 0.6 Version = 
    22 
    3 == What's New and/or Changed == 
     3= Changes = 
    44 
    5 === PJLIB === 
     5== PJLIB == 
    66 
    77Changes in PJLIB: 
     
    1010 
    1111 
    12 === New pjnath Library === 
     12== New PJNATH Library == 
    1313 
    14 There is a new {{{pjnath}}} library for NAT traversal helper, containing ICE and new STUN implementation. This library is platform independent, and it depends only on {{{pjlib}}} and {{{pjlib-util}}}. 
     14There is a new {{{PJNATH}}} library for NAT traversal helper, containing ICE and new STUN implementation. This library is platform independent, and it depends only on {{{pjlib}}} and {{{pjlib-util}}}. 
    1515 
    1616If the application is based on {{{pjsua-lib}}}, then you will have to add {{{pjnath}}} library to your link process. 
    1717 
    18 === PJMEDIA === 
     18== PJMEDIA == 
    1919 
    2020PJMEDIA is the one that has underdone the most changes, although most the API remains the same: 
    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. 
    2722 * Added Speex resampler as one of the resampling backend (default is still disabled) 
    2823 * Steve Underwood's PLC has been removed from PJMEDIA. Now PJMEDIA only uses PLC that is built-in with the codec, for example in Speex and iLBC. 
    2924 
     25=== !PortAudio === 
    3026 
    31 == Migrating Your Application == 
     27!PortAudio now lives in '''{{{third_party/portaudio}}}''' directory, and is directly synch-ed to main !PortAudio SVN ({{{v19-devel}}} branch, although it's locked to a specific revision). This arrangement would make it easy to synchronize !PortAudio with their development. 
    3228 
    33 === All Applications === 
     29The PJMEDIA specific build files for !PortAudio is located under '''{{{third_party/build/portaudio}}}''' directory. 
     30 
     31=== Speex === 
     32 
     33Speex 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 
     35The PJMEDIA specific build files for Speex is located under '''{{{third_party/build/speex}}}''' directory. 
     36 
     37=== GSM Codec === 
     38 
     39The GSM codec now lives in '''{{{third_party/gsm}}}''' directory, and the content is taken from GSM tarball release. 
     40 
     41The PJMEDIA specific build files for GSM is located under '''{{{third_party/build/gsm}}}''' directory. 
     42 
     43 
     44=== iLBC Codec === 
     45 
     46The iLBC codec now lives in '''{{{third_party/ilbc}}}''' directory, and the content is taken from iLBC RFC. 
     47 
     48The PJMEDIA specific build files for iLBC is located under '''{{{third_party/build/ilbc}}}''' directory. 
     49 
     50 
     51 
     52=== Resample === 
     53 
     54The 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 
     56The PJMEDIA specific build files for resample is located under '''{{{third_party/build/resample}}}''' directory. 
     57 
     58In addition, PJMEDIA now also supports the sample rate converter in Speex. 
     59 
     60To 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 
     66Support 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 
     70Support 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 == 
    3477 
    3578If your application is based on PJSUA-LIB, you need to add '''PJNATH''' in your input library, 
    3679 
    37 === All Windows and WinCE Applications === 
     80== All Windows and WinCE Applications == 
    3881 
    3982What need to change: 
     
    4184 
    4285 
    43 === Visual Studio 6 === 
     86== Visual Studio 6 == 
    4487 
    4588If you're using Visual Studio 6, you need to: