mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 02:39:22 +00:00
add missing jni
This commit is contained in:
parent
c971007361
commit
c8f4f8f296
2 changed files with 21 additions and 0 deletions
|
|
@ -1206,6 +1206,15 @@ extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setDownloadBandwidth(JNI
|
|||
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setUploadBandwidth(JNIEnv *env, jobject thiz, jlong lc, jint bw){
|
||||
linphone_core_set_upload_bandwidth((LinphoneCore *)lc, (int) bw);
|
||||
}
|
||||
|
||||
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setDownloadPtime(JNIEnv *env, jobject thiz, jlong lc, jint ptime){
|
||||
linphone_core_set_download_ptime((LinphoneCore *)lc, (int) ptime);
|
||||
}
|
||||
|
||||
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setUploadPtime(JNIEnv *env, jobject thiz, jlong lc, jint ptime){
|
||||
linphone_core_set_upload_ptime((LinphoneCore *)lc, (int) ptime);
|
||||
}
|
||||
|
||||
extern "C" int Java_org_linphone_core_LinphoneProxyConfigImpl_getState(JNIEnv* env,jobject thiz,jlong ptr) {
|
||||
return (int) linphone_proxy_config_get_state((const LinphoneProxyConfig *) ptr);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -531,6 +531,18 @@ public interface LinphoneCore {
|
|||
void setUploadBandwidth(int bw);
|
||||
|
||||
void setDownloadBandwidth(int bw);
|
||||
|
||||
/**
|
||||
* Sets audio packetization interval suggested for remote end.
|
||||
* @param ptime packetization interval in milliseconds
|
||||
*/
|
||||
void setDownloadPtime(int ptime);
|
||||
|
||||
/**
|
||||
* Sets audio packetization interval sent to remote end.
|
||||
* @param ptime packetization interval in milliseconds
|
||||
*/
|
||||
void setUploadPtime(int ptime);
|
||||
|
||||
void setPreferredVideoSize(VideoSize vSize);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue