diff --git a/SD_ROOT/wz_mini/lib/libcallback.so b/SD_ROOT/wz_mini/lib/libcallback.so index c3abdd4..6381626 100644 Binary files a/SD_ROOT/wz_mini/lib/libcallback.so and b/SD_ROOT/wz_mini/lib/libcallback.so differ diff --git a/src/libcallback_wz_mod/libcallback.so b/src/libcallback_wz_mod/libcallback.so index c3abdd4..6381626 100644 Binary files a/src/libcallback_wz_mod/libcallback.so and b/src/libcallback_wz_mod/libcallback.so differ diff --git a/src/libcallback_wz_mod/video_callback.c b/src/libcallback_wz_mod/video_callback.c index 0bdc09a..a7da6f9 100644 --- a/src/libcallback_wz_mod/video_callback.c +++ b/src/libcallback_wz_mod/video_callback.c @@ -186,6 +186,10 @@ int local_sdk_video_set_encode_frame_callback(int ch, void *callback) { video_encode_cb = callback; fprintf(stderr,"enc func injection save video_encode_cb=0x%x\n", video_encode_cb); callback = video_encode_capture; + } else if( (ch == 0) && ch_count == 3) { + video_encode_cb = callback; + fprintf(stderr,"RTSP FIRMWARE enc func injection save video_encode_cb=0x%x\n", video_encode_cb); + callback = video_encode_capture; } fprintf(stderr,"ch count is %x\n", ch_count);