alsaleem00

Results 18 comments of alsaleem00

The code has a problem when i run in a new machine were i installed a new python/matplotlib It stops at 369. with Python 3.9.7 / matplotlib 3.4.3 however, it...

If you are streaming at 30 fps and your device/mobile/emulator is slow you will get OOM because unprocessed callbacks stacks up.

Thanks. The original code barely achieved 4FPS in the emulator.

@dylanatkeylogic you have to modify the code in c++ to match the pixel format + width/height. I used it with 4M image and got no problem (it consumes about 42MB...

it is [here](https://github.com/potterhsu/RtspLibrary/blob/1ee1347e9a10aaeeb0dbc3532963503524fb17e9/library/src/main/cpp/native-lib.cpp#L103) . in the C++ code, change AV_PIX_FMT_RGB to AV_PIX_FMT_ARGB (3 places) You can not do changes to c++ if you are using the libarary with build.gradle dependency....

1,555,200 = 4 x 1080 x 360, try debug: ` void callback(JNIEnv *env, uint8_t *buf, int nChannel, int width, int height) { int len = nChannel * width * height;...

The crash is because of that many frames stacking up before jave handles the request. Memory gets full. I got similar situation until i controlled the rate at whcih library...

` extern "C" jint Java_com_tge_rakinrtsp_RtspClient_play(JNIEnv *env, jobject, jstring endpoint, jint utime_ms) { SwsContext *img_convert_ctx; AVFormatContext* context = avformat_alloc_context(); int video_stream_index = -1; updateTime = (utime_ms < 0)? UPDATE_TIME_MS : utime_ms;...

#define UPDATE_TIME_MS (150) bool isStop = false; int updateTime;

@gravicappa , I have same problem. I did remove -fvisibility=hidden but did not work. I used to compile mapnik from sources in zip file. But having this problem when i...