diff --git a/src/org/linphone/core/LinphoneCoreImpl.java b/src/org/linphone/core/LinphoneCoreImpl.java index 32052f143..b68d9c676 100644 --- a/src/org/linphone/core/LinphoneCoreImpl.java +++ b/src/org/linphone/core/LinphoneCoreImpl.java @@ -99,6 +99,9 @@ class LinphoneCoreImpl implements LinphoneCore { private native int pauseCall(long nativePtr, long callPtr); private native int pauseAllCalls(long nativePtr); private native int resumeCall(long nativePtr, long callPtr); + private native void setUploadPtime(long nativePtr, int ptime); + private native void setDownloadPtime(long nativePtr, int ptime); + LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException { mListener=listener; nativePtr = newLinphoneCore(listener,userConfig.getCanonicalPath(),factoryConfig.getCanonicalPath(),userdata); @@ -483,4 +486,11 @@ class LinphoneCoreImpl implements LinphoneCore { public synchronized boolean pauseAllCalls() { return 0 == pauseAllCalls(nativePtr); } + public void setDownloadPtime(int ptime) { + setDownloadPtime(nativePtr,ptime); + + } + public void setUploadPtime(int ptime) { + setUploadPtime(nativePtr,ptime); + } } diff --git a/submodules/linphone b/submodules/linphone index 928e97175..c8f4f8f29 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 928e9717531c342ec38b00a66dd7fe1f77fd8909 +Subproject commit c8f4f8f296baa01f5839104327f1707626b7cf63