implement quality indicators methods

This commit is contained in:
Simon Morlat 2011-06-10 19:04:53 +02:00
parent 0e33b4df1a
commit c9f492d3d9
2 changed files with 9 additions and 1 deletions

View file

@ -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);
}
}

@ -1 +1 @@
Subproject commit 391091cead70994de0c78fb4b9bc2b82d0cb98e0
Subproject commit 96f5278f71a477eb67ad2f986d7666554986b0d7