- call secure event is now generated also when media encoding is srtp*

allowing security button color change to yellow
- removed some debug code
This commit is contained in:
Juha Heinanen
2019-02-19 08:02:49 +02:00
parent c74124702a
commit ad2dec94e7
4 changed files with 9 additions and 16 deletions

View File

@ -1259,9 +1259,6 @@ JNIEXPORT jint JNICALL
Java_com_tutpro_baresip_Api_cmd_1exec(JNIEnv *env, jobject thiz, jstring javaCmd) {
const char *native_cmd = (*env)->GetStringUTFChars(env, javaCmd, 0);
LOGD("processing command '%s'\n", native_cmd);
if (strcmp(native_cmd, "audio_debug") == 0) {
re_printf("Baresip audio debug '%H\n", audio_debug, call_audio(ua_call(uag_current())));
}
int res = cmd_process_long(baresip_commands(), native_cmd, strlen(native_cmd), &pf_null, NULL);
(*env)->ReleaseStringUTFChars(env, javaCmd, native_cmd);
return res;