Merge branch 'master' of git.linphone.org:linphone-android

This commit is contained in:
Guillaume Beraudo 2011-01-25 15:47:58 +01:00
commit 1f8fc902e7

View file

@ -88,6 +88,9 @@ class LinphoneCoreImpl implements LinphoneCore {
private native void setRing(long nativePtr, String path);
private native String getRing(long nativePtr);
private native long[] listVideoPayloadTypes(long nativePtr);
private native void enableKeepAlive(long nativePtr,boolean enable);
private native boolean isKeepAliveEnabled(long nativePtr);
private native int startEchoCalibration(long nativePtr,Object data);
LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException {
@ -426,4 +429,14 @@ class LinphoneCoreImpl implements LinphoneCore {
public boolean isNetworkReachable() {
throw new RuntimeException("Not implemented");
}
public void enableKeepAlive(boolean enable) {
enableKeepAlive(nativePtr,enable);
}
public boolean isKeepAliveEnabled() {
return isKeepAliveEnabled(nativePtr);
}
public void startEchoCalibration(Object data) throws LinphoneCoreException {
startEchoCalibration(nativePtr, data);
}
}