mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
add setPreferredFramerate()
This commit is contained in:
parent
a36c94f18d
commit
37c17e2703
1 changed files with 4 additions and 0 deletions
|
|
@ -3395,6 +3395,10 @@ extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setPreferredVideoSize(JN
|
|||
linphone_core_set_preferred_video_size((LinphoneCore *)lc, vsize);
|
||||
}
|
||||
|
||||
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setPreferredFramerate(JNIEnv *env, jobject thiz, jlong lc, jfloat framerate){
|
||||
linphone_core_set_preferred_framerate((LinphoneCore *)lc, framerate);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL Java_org_linphone_core_LinphoneCoreImpl_setPreferredVideoSizeByName(JNIEnv *env, jobject thiz, jlong lc, jstring jName) {
|
||||
const char* cName = env->GetStringUTFChars(jName, NULL);
|
||||
linphone_core_set_preferred_video_size_by_name((LinphoneCore *)lc, cName);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue