I have begun to do an application for Linux users to livestream with. Currently the only good way to livestream with Linux is FFmpeg and through terminal. I have gotten a good hold on FFmpeg, but trying to get FFmpeg to load with Java is difficult, and I have no clue where to start. I am using FMJ, a wrapper for Java (whatever that means).
I use ffmpeg in Android platform.
I set mInterruptCB as pFormatCtx->interrupt_callback, and call av_read_frame to read frame on a dedicated thread, it run fine, I try to set mInterruptCB return 1 when the wifi is not working, the av_read_frame return error, but i set mInterruptCB return 0 when the wifi is working, the av_read_frame always return error.