1 | | Add support for AMR-NB codec implementation by the open source [http://opencore-amr.sourceforge.net/ OpenCORE] project. |
2 | | |
3 | | Follow the instructions below to enable this support. |
4 | | |
5 | | '''Makefile based (Linux, MacOS X, etc.)''' |
6 | | |
7 | | 1. Download and install [http://sourceforge.net/projects/opencore-amr/files/ opencore-amr] .tar.gz archive (tested with version 0.1.2) |
8 | | 1. Download the latest pjproject |
9 | | 1. In the pjproject directory, (re)run {{{configure}}} script. |
10 | | 1. (re)Run {{{make dep && make clean && make}}} |
11 | | 1. The AMR-NB codec is now available ready to be used. |
12 | | |
13 | | '''Windows''' |
14 | | |
15 | | 1. Configure and build opencore-amr with MinGW: |
16 | | 1. Download and install [http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110802/mingw-get-inst-20110802.exe/download?_test=goal MinGW]. |
17 | | 1. Download [http://sourceforge.net/projects/opencore-amr/files/ opencore-amr] .tar.gz archive (tested with version 0.1.2). Build and install with MinGW. |
18 | | 1. Add your installed opencore-amr to Visual Studio include and lib paths. |
19 | | 1. Configure and build pjsip with Visual Studio: |
20 | | 1. Download the latest pjproject |
21 | | 1. Add this to your {{{config_site.h}}}: |
22 | | {{{ |
23 | | #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1 |
24 | | }}} |
25 | | 1. Build the pjproject solution. |
26 | | 1. The AMR-NB codec is now available ready to be used. |
27 | | |
28 | | |
29 | | '''Other platforms''' |
30 | | |
31 | | Currently not supported. |
| 1 | The updated OpenCORE AMR instructions are in [wiki:Using-OpenCORE-AMR-NB-WB-Codec Using OpenCORE AMR NB and WB Codecs] |