add isEchoLimiterEnabled() java binding

This commit is contained in:
Simon Morlat 2011-11-09 17:27:46 +01:00
parent 2b499066df
commit 91b606875d
2 changed files with 13 additions and 0 deletions

View 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

View 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();
}