mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
disable EC while in speaker mode
This commit is contained in:
parent
e161f668e5
commit
ed6a5bf841
1 changed files with 17 additions and 1 deletions
|
|
@ -31,7 +31,10 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
native private int getState(long nativePtr);
|
||||
private native long getCurrentParamsCopy(long nativePtr);
|
||||
private native void enableCamera(long nativePtr, boolean enabled);
|
||||
|
||||
private native void enableEchoCancellation(long nativePtr,boolean enable);
|
||||
private native boolean isEchoCancellationEnabled(long nativePtr) ;
|
||||
private native void enableEchoLimiter(long nativePtr,boolean enable);
|
||||
private native boolean isEchoLimiterEnabled(long nativePtr) ;
|
||||
|
||||
protected LinphoneCallImpl(long aNativePtr) {
|
||||
nativePtr = aNativePtr;
|
||||
|
|
@ -72,4 +75,17 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
public boolean equals(Object call) {
|
||||
return nativePtr == ((LinphoneCallImpl)call).nativePtr;
|
||||
}
|
||||
public void enableEchoCancellation(boolean enable) {
|
||||
enableEchoCancellation(nativePtr,enable);
|
||||
|
||||
}
|
||||
public boolean isEchoCancellationEnabled() {
|
||||
return isEchoCancellationEnabled(nativePtr);
|
||||
}
|
||||
public void enableEchoLimiter(boolean enable) {
|
||||
enableEchoLimiter(nativePtr,enable);
|
||||
}
|
||||
public boolean isEchoLimiterEnabled() {
|
||||
return isEchoLimiterEnabled(nativePtr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue