You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source code of bcg729 is licensed under GPLv2.
Below are the steps to use the codec:
For GNU targets:
Build the bcg729 library as specified by the their doc.
Run PJSIP's configure by specifying the location to bcg729 library using --with-bcg729 option. E.g.:
./configure --with-bcg=/home/user/opt
Make sure that the library is usable and correctly configured by looking at the configure output. The check is applicable for iOS and android build as well.
Using bcg729 prefix... /Users/riza/src/bcg729/ios
checking bcg729 usability... ok
For Visual Studio:
Build the bcg729 library using Visual Studio, by generating the project using cmake.
Add bcg729 include and library installation paths (folder that contains libbcg729.dll.a) to Visual Studio search path settings.
Add this to your config_site.h:
#define PJMEDIA_HAS_BCG729 1
For iOS:
Build the bcg729 library as specified by the their doc.
Run PJSIP's configure with --with-bcg729 option. E.g.:
Copy libbcg729.a to your XCode project directory. Create a folder ios_local/lib inside your XCode project directory (example: for our ipjsua sample app, the directory will be: (PJPROJECT_DIR)/pjsip-apps/src/pjsua/ios/ios_local/lib). Then copy bcg729 dynamic library files to the folder.
E.g:
2017-07-19 10:10:42: @trengginas created the issue on trac ticket 2029
Support for G729 backend implementation from bcg729.
Requirement:
Notes:
Below are the steps to use the codec:
For GNU targets:
configure
by specifying the location to bcg729 library using--with-bcg729
option. E.g.:configure
output. The check is applicable for iOS and android build as well.For Visual Studio:
config_site.h
:For iOS:
configure
with--with-bcg729
option. E.g.:libbcg729.a
to your XCode project directory. Create a folderios_local/lib
inside your XCode project directory (example: for our ipjsua sample app, the directory will be:(PJPROJECT_DIR)/pjsip-apps/src/pjsua/ios/ios_local/lib
). Then copy bcg729 dynamic library files to the folder.E.g:
libbcg729.a
to your application project in XCode.For Android:
Android.mk
in the bcg729 source root directory, just appendsrc/cng.c, src/dtx.c, src/vad.c
toLOCAL_SRC_FILES
.cd [bcg729-source-path]
$ANDROID_NDK_ROOT/build/ndk-build APP_ABI=arm64-v8a
NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk
```
lib
under bcg729 library source, and copy thelibbcg729.a
from[bcg729-source-path]/obj/local/[ABI]
to it.configure
with--with-bcg729
option. E.g.:2017-07-19 11:29:12: @trengginas commented
In r5630:
Re #2029: Support for G.729 backend implementation from bcg729.
2017-07-26 03:04:36: @trengginas changed status from new to closed
2017-07-26 03:04:36: @trengginas set resolution to fixed
2018-01-09 18:24:34: @ismangil edited the issue description
2019-08-15 09:34:32: @nanangizz edited the issue description
The text was updated successfully, but these errors were encountered: