Added Check Origin account setting

Get Settings and Account strings outside of composables
This commit is contained in:
Juha Heinanen
2025-12-25 11:25:12 +02:00
parent 58688f31df
commit 38b5bef715
10 changed files with 438 additions and 267 deletions

View File

@ -827,6 +827,22 @@ JNIEXPORT jint JNICALL Java_com_tutpro_baresip_Api_account_1set_1regint(
return account_set_regint((struct account *)acc, regint);
}
JNIEXPORT jboolean JNICALL Java_com_tutpro_baresip_Api_account_1check_1origin(
JNIEnv *env, jobject obj, jlong acc)
{
(void)env;
(void)obj;
return account_check_origin((struct account *)acc);
}
JNIEXPORT void JNICALL Java_com_tutpro_baresip_Api_account_1set_1check_1origin(
JNIEnv *env, jobject obj, jlong acc, jboolean value)
{
(void)env;
(void)obj;
account_set_check_origin((struct account *)acc, value);
}
JNIEXPORT jstring JNICALL Java_com_tutpro_baresip_Api_account_1mediaenc(
JNIEnv *env, jobject obj, jlong acc)
{