Hi,
to add bcg729 support, you need to build the sdk with the given option "-DENABLE_G729=YES" and eventually "-DENABLE_G729B_CNG=YES" if you need it.
From the Linphone-sdk readme :
The generic steps to build the SDK are:
- Create and go inside a directory where the SDK will be built:
mkdir build && cd build
- Execute CMake to configure the project:
cmake <SOME OPTIONS> ..
- Build the SDK:
cmake --build .
or cmake --build . --parallel <number of jobs>
(which is faster).
In your Android case , you need to entrer the following commands to build :
- Create and go inside a directory where the SDK will be built:
mkdir build && cd build
- Execute CMake to configure the project:
cmake .. -DLINPHONESDK_PLATFORM=Android -DLINPHONESDK_ANDROID_ARCHS="[either armv7 or arm64]"
-DENABLE_G729=YES -DENABLE_G729B_CNG=YES - Build the SDK:
cmake --build .
or cmake --build . --parallel <number of jobs>
(which is faster).
When the sdk is built, you coul get the generated aar here : build/linphone-sdk/bin/outputs/aar
Regards,
Peio
7 décembre 2019 20:12 "Dan Tdm" <
address@hidden> a écrit:
How can i add bcg729 to the app ?