Changes between Version 2 and Version 3 of Ticket #1904


Ignore:
Timestamp:
Jun 23, 2016 5:39:05 AM (8 years ago)
Author:
nanang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1904 – Description

    v2 v3  
    22 
    33'''How to use:''' 
    4 1. Download Opus source code from [https://www.opus-codec.org/downloads/ here] (latest stable release 1.1.2 or above is recommended). For iOS, you can get the build script [https://github.com/zimuliu/opus-ios-build here] or [https://github.com/chrisballinger/Opus-iOS here]. For Android, you can get the Android makefile [http://stackoverflow.com/questions/17869333/makefile-needed-for-compiling-the-opus-codec-for-android here]. 
    5 1. Run PJSIP's {{{configure}}} script with the option {{{--with-opus=your_opus_installation_dir}}} 
     41. Download Opus source code from [https://www.opus-codec.org/downloads/ here] (latest stable release 1.1.2 or above is recommended). 
     51. Build Opus: 
     6   1. For iOS, get the build script [https://github.com/zimuliu/opus-ios-build here] or [https://github.com/chrisballinger/Opus-iOS here]. 
     7   1. For Android, get the Android makefile attached in this ticket (tested with Opus 1.1.2), or check [http://stackoverflow.com/questions/17869333/makefile-needed-for-compiling-the-opus-codec-for-android here] 
     8      - create {{{jni}}} folder in Opus root directory and put  {{{Android.mk}}} from this ticket attachment in there 
     9      - run {{{ndk-build}}} from Opus root directory 
     10      - make a new folder called {{{opus-dev-lib}}} and create subfolders: {{{include/opus}}} and {{{lib}}} in it 
     11      - copy Opus header files from {{{[OPUS_ROOT_DIR]/include}}} to {{{opus-dev-lib/include/opus}}} and {{{libopus.a}}} file from {{{[OPUS_ROOT_DIR]/obj/local/armeabi}}} to {{{opus-dev-lib/lib}}} 
     121. Run PJSIP's {{{configure}}} script with the option {{{--with-opus=your_opus_installation_dir}}}. For example on Android platform: 
     13   {{{ 
     14./configure-android --with-opus=[absolute-path-to]/opus-dev-lib 
     15   }}} 
    616 
    717'''Opus Codec Settings'''