linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] No g729 codec in Linphone Android SDK?


From: peio . rigaux
Subject: Re: [Linphone-developers] No g729 codec in Linphone Android SDK?
Date: Mon, 09 Dec 2019 09:16:33 +0000

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:

  1. Create and go inside a directory where the SDK will be built: mkdir build && cd build
  2. Execute CMake to configure the project: cmake <SOME OPTIONS> ..
  3. 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 :
  1. Create and go inside a directory where the SDK will be built: mkdir build && cd build
  2. Execute CMake to configure the project: cmake .. -DLINPHONESDK_PLATFORM=Android -DLINPHONESDK_ANDROID_ARCHS="[either armv7 or arm64]" -DENABLE_G729=YES -DENABLE_G729B_CNG=YES
  3. 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 ?
On Wed, Nov 20, 2019 at 6:51 AM Charles Yu <address@hidden> wrote:
Hi,

I see. Thank you for your reply.
Jehan Monnier <address@hidden> 於 2019年11月20日 週三 上午12:06寫道:
Hi,
Binary SDK does not include g729 by default. If it was present in the past, it was by mistake.
This being said, bcg729 is GPL and can be freely included in a GPL application.
If you are in this case, just compile from the source.
Best regards
Jehan
Le 19 nov. 2019 à 14:25, Charles Yu <address@hidden> a écrit :
Hi,

We downloaded sdk from https://linphone.org/releases/maven_repository/org/linphone/linphone-sdk-android/ ( 4.2.x ) and got sdk from https://gitlab.linphone.org/BC/public/linphone-android (Release 4.2 ) after built in Android Studio. It seems no g729 codec in them.
I remember the previous version ( 4.0 or 4.1 ) contains g729. Why and how to it to android sdk? Thank you very much.
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]