Bug Report for Android mediastreamer2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug Report for Android mediastreamer2

王德宇(Wady)
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) {




 


_______________________________________________
Linphone-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-users