diff --git a/coreapi/linphonecore_jni.cc b/coreapi/linphonecore_jni.cc index fb62302af..d7715a627 100644 --- a/coreapi/linphonecore_jni.cc +++ b/coreapi/linphonecore_jni.cc @@ -675,6 +675,13 @@ extern "C" jboolean Java_org_linphone_core_LinphoneCoreImpl_isEchoCancellationEn return linphone_core_echo_cancellation_enabled((LinphoneCore*)lc); } +extern "C" jboolean Java_org_linphone_core_LinphoneCoreImpl_isEchoLimiterEnabled(JNIEnv* env + ,jobject thiz + ,jlong lc + ) { + return linphone_core_echo_limiter_enabled((LinphoneCore*)lc); +} + extern "C" jobject Java_org_linphone_core_LinphoneCoreImpl_getCurrentCall(JNIEnv* env ,jobject thiz ,jlong lc diff --git a/java/common/org/linphone/core/LinphoneCore.java b/java/common/org/linphone/core/LinphoneCore.java index 944fa026d..30d87b456 100644 --- a/java/common/org/linphone/core/LinphoneCore.java +++ b/java/common/org/linphone/core/LinphoneCore.java @@ -433,6 +433,11 @@ public interface LinphoneCore { * @return true if echo cancellation is enabled. */ boolean isEchoCancellationEnabled(); + /** + * Get echo limiter status (another method of doing echo suppressionn, more brute force) + * @return true if echo limiter is enabled + */ + boolean isEchoLimiterEnabled(); /** * @param transports used for signaling (TCP, UDP and TLS) */ @@ -653,4 +658,5 @@ public interface LinphoneCore { * @return if media encryption is required for ougtoing calls */ boolean isMediaEncryptionMandatory(); + }