mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-30 07:46:22 +00:00
Use the iSAC codec and WebRTC echo canceller from the mswebrtc plugin on Android.
This commit is contained in:
parent
0021b21feb
commit
7caaca64ff
3 changed files with 30 additions and 9 deletions
|
|
@ -160,10 +160,31 @@ LOCAL_CFLAGS += -DHAVE_SILK
|
||||||
LOCAL_STATIC_LIBRARIES += libmssilk
|
LOCAL_STATIC_LIBRARIES += libmssilk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BUILD_WEBRTC_ISAC),1)
|
ifneq ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC),00)
|
||||||
LOCAL_CFLAGS += -DHAVE_ISAC
|
LOCAL_CFLAGS += -DHAVE_WEBRTC
|
||||||
LOCAL_STATIC_LIBRARIES += libwebrtc_isacfix_neon
|
LOCAL_STATIC_LIBRARIES += libmswebrtc
|
||||||
LOCAL_STATIC_LIBRARIES += libwebrtc_spl libwebrtc_isacfix libmsisac
|
endif
|
||||||
|
ifneq ($(BUILD_WEBRTC_AECM),0)
|
||||||
|
LOCAL_STATIC_LIBRARIES += \
|
||||||
|
libwebrtc_aecm \
|
||||||
|
libwebrtc_apm_utility \
|
||||||
|
libwebrtc_spl \
|
||||||
|
libwebrtc_system_wrappers
|
||||||
|
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
|
||||||
|
LOCAL_STATIC_LIBRARIES += \
|
||||||
|
libwebrtc_aecm_neon \
|
||||||
|
libwebrtc_spl_neon
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifneq ($(BUILD_WEBRTC_ISAC),0)
|
||||||
|
LOCAL_STATIC_LIBRARIES += \
|
||||||
|
libwebrtc_isacfix \
|
||||||
|
libwebrtc_spl
|
||||||
|
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
|
||||||
|
LOCAL_STATIC_LIBRARIES += \
|
||||||
|
libwebrtc_isacfix_neon \
|
||||||
|
libwebrtc_spl_neon
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BUILD_G729),1)
|
ifeq ($(BUILD_G729),1)
|
||||||
|
|
|
||||||
|
|
@ -52,8 +52,8 @@ extern "C" void libmssilk_init();
|
||||||
#ifdef HAVE_G729
|
#ifdef HAVE_G729
|
||||||
extern "C" void libmsbcg729_init();
|
extern "C" void libmsbcg729_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ISAC
|
#ifdef HAVE_WEBRTC
|
||||||
extern "C" void libmsisac_init();
|
extern "C" void libmswebrtc_init();
|
||||||
#endif
|
#endif
|
||||||
#endif /*ANDROID*/
|
#endif /*ANDROID*/
|
||||||
|
|
||||||
|
|
@ -787,8 +787,8 @@ extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_newLinphoneCore(JNIEnv*
|
||||||
#ifdef HAVE_G729
|
#ifdef HAVE_G729
|
||||||
libmsbcg729_init();
|
libmsbcg729_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ISAC
|
#ifdef HAVE_WEBRTC
|
||||||
libmsisac_init();
|
libmswebrtc_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
jlong nativePtr = (jlong)linphone_core_new( &ldata->vTable
|
jlong nativePtr = (jlong)linphone_core_new( &ldata->vTable
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit ebc30daf06e5b98eab43257fbf425aac291a7bba
|
Subproject commit 903d16fd95c070f8194221142aaa13c17be7d535
|
||||||
Loading…
Add table
Reference in a new issue