]> sjero.net Git - linphone/commitdiff
add isEchoLimiterEnabled() java binding
authorSimon Morlat <simon.morlat@linphone.org>
Wed, 9 Nov 2011 16:27:46 +0000 (17:27 +0100)
committerSimon Morlat <simon.morlat@linphone.org>
Wed, 9 Nov 2011 16:27:46 +0000 (17:27 +0100)
coreapi/linphonecore_jni.cc
java/common/org/linphone/core/LinphoneCore.java

index fb62302afec622a5028670e570982fbd9bc4bd13..d7715a627f9c9c7bf82fefe7063e1adfb9d8ff79 100644 (file)
@@ -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
index 944fa026d2f5f3956ab6c7fd7442733b550edfba..30d87b4563d6627b1b636b0d42c1ce3a6730a94c 100644 (file)
@@ -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();
+       
 }