linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Bug Report for Android mediastreamer2


From: 王德宇(Wady)
Subject: [Linphone-users] Bug Report for Android mediastreamer2
Date: Mon, 14 Jan 2019 08:11:37 +0800 (CST)

Hello everybody,
    I am Wady, a fan from China. I am learning about flexisip and linphone. It crashes when I use the Android linphone for long conversations. I have found a bug.

Simple describe:
 AMediaFormat* AMediaCodec_getOutputFormat(AMediaCodec *codec) {
        AMediaFormat *format = AMediaFormat_new();
        JNIEnv *env = ms_get_jni_env();
        jobject jformat = NULL;

+       if (format == NULL)
+               return NULL;
+       env->DeleteGlobalRef(format->jformat);
+       format->jformat = NULL;
+
        jformat = env->CallObjectMethod(codec->jcodec, codec->getOutputFormat);
        handle_java_exception();
        if (!jformat) {




 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]