# Linphone Android SDK Machine: Ubuntu 18.04 LTS Original source: https://gitlab.linphone.org/BC/public/linphone-sdk.git ## 1. Build flow ### a) cmake .. -DLINPHONESDK_PLATFORM=Android -DLINPHONESDK_ANDROID_ARCHS=arm64 cmake --build . ### b) output aar is in **build/linphone-sdk/bin/outputs/aar/linphone-sdk-android-release.aar** and **build/linphone-sdk/bin/outputs/aar/linphone-sdk-android-debug.aar** ## 2. Main modules ### a). liblinphone ### b). mediastreamer2 * #### speexec algorithm & config * #### SoundDeviceDescription genericSoundDeviceDescriptorAboveAndroid8 = { "Generic", "Generic", "Generic", 0, 0, 0}; // force enabling AEC even though Android version is above 8.0 ### c). mswebrtc LOCAL_CFLAGS += -DBUILD_AEC > webrtc algorithm -> you can try if you have free time ### d), cmake-builder ENABLE_AEC=ON // force enable ENABLE_AECM=OFF ## 3. Integrate with APK Put aar to linphone-sdk-android directory in your APK ## 4. Source https://bitbucket.org/aiello_sharif/linphone-sdk-android.git