fix android build

This commit is contained in:
Simon Morlat 2014-06-04 16:31:29 +02:00
parent 7c3924053b
commit 22f6228c96
3 changed files with 7 additions and 2 deletions

View file

@ -2948,6 +2948,10 @@ JNIEXPORT void JNICALL Java_org_linphone_core_LinphoneProxyConfigImpl_enableAvpf
linphone_proxy_config_enable_avpf((LinphoneProxyConfig *)ptr, (bool)enable);
}
JNIEXPORT jboolean JNICALL Java_org_linphone_core_LinphoneProxyConfigImpl_avpfEnabled(JNIEnv *env, jobject thiz, jlong ptr) {
return linphone_proxy_config_avpf_enabled((LinphoneProxyConfig *)ptr);
}
JNIEXPORT void JNICALL Java_org_linphone_core_LinphoneProxyConfigImpl_setAvpfRRInterval(JNIEnv *env, jobject thiz, jlong ptr, jint interval) {
linphone_proxy_config_set_avpf_rr_interval((LinphoneProxyConfig *)ptr, (uint8_t)interval);
}

View file

@ -183,8 +183,9 @@ public interface LinphoneProxyConfig {
/**
* Whether AVPF is used for calls through this proxy.
* @return
*/
void avpfEnabled();
boolean avpfEnabled();
/**
* Set optional contact parameters that will be added to the contact information sent in the registration.

@ -1 +1 @@
Subproject commit e0ff32eebb29671e855cb3cfe9c0ea46929419b4
Subproject commit 9c3d936356fe4d4c8a1fa8ca57a47598ece44f81