diff --git a/LinphoneCallImpl.java b/LinphoneCallImpl.java index b60d92fda..653bd157e 100644 --- a/LinphoneCallImpl.java +++ b/LinphoneCallImpl.java @@ -37,6 +37,8 @@ class LinphoneCallImpl implements LinphoneCall { private native boolean isEchoLimiterEnabled(long nativePtr); private native long getReplacedCall(long nativePtr); private native int getDuration(long nativePtr); + private native float getCurrentQuality(long nativePtr); + private native float getAverageQuality(long nativePtr); protected LinphoneCallImpl(long aNativePtr) { nativePtr = aNativePtr; @@ -101,5 +103,11 @@ class LinphoneCallImpl implements LinphoneCall { public int getDuration() { return getDuration(nativePtr); } + public float getAverageQuality() { + return getAverageQuality(nativePtr); + } + public float getCurrentQuality() { + return getCurrentQuality(nativePtr); + } }