mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
ms_set_cpu_count exported via JNI
This commit is contained in:
parent
47999d7b40
commit
0116f4b2d3
2 changed files with 6 additions and 0 deletions
|
|
@ -1705,3 +1705,7 @@ extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setVideoPolicy(JNIEnv *e
|
|||
vpol.automatically_accept = autoAccept;
|
||||
linphone_core_set_video_policy((LinphoneCore *)lc, &vpol);
|
||||
}
|
||||
|
||||
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setCpuCount(JNIEnv *env, jobject thiz, jint count) {
|
||||
ms_set_cpu_count(count);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -761,4 +761,6 @@ public interface LinphoneCore {
|
|||
void setVideoPolicy(boolean autoInitiate, boolean autoAccept);
|
||||
|
||||
void setUserAgent(String name, String version);
|
||||
|
||||
void setCpuCount(int count);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue