diff --git a/README.md b/README.md index ddb4c64..4ff570e 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,7 @@ Huge credit to @mnakada for his libcallback library: [https://github.com/mnakada ## Latest Updates +* 05-08-22: update libcallback sources with patch to enable pan v2 rtsp functionality. * 05-08-22: Include iptables and NFSv4 kernel modules, enable swap ON by default. * 05-07-22: RTSP Server fixed, ported latest full libcallback from @mnakada with modifications. * 05-01-22: Removed dropbearmulti, replaced with individual binaries. dropbear dbclient dropbearkey dropbearconvert scp now included. diff --git a/SD_ROOT/wz_mini/lib/libcallback.so b/SD_ROOT/wz_mini/lib/libcallback.so index 4f0c749..aebc0bf 100644 Binary files a/SD_ROOT/wz_mini/lib/libcallback.so and b/SD_ROOT/wz_mini/lib/libcallback.so differ diff --git a/libcallback_wz_mod/libcallback.so b/libcallback_wz_mod/libcallback.so index 4f0c749..aebc0bf 100755 Binary files a/libcallback_wz_mod/libcallback.so and b/libcallback_wz_mod/libcallback.so differ diff --git a/libcallback_wz_mod/video_callback.c b/libcallback_wz_mod/video_callback.c index 35f35f3..b44bfc1 100644 --- a/libcallback_wz_mod/video_callback.c +++ b/libcallback_wz_mod/video_callback.c @@ -82,6 +82,12 @@ int local_sdk_video_set_encode_frame_callback(int ch, void *callback) { fprintf(stderr,"enc func injection save video_encode_cb=0x%x\n", video_encode_cb); callback = video_encode_capture; } +/* ch0 callback for panv2 is 0x47accc */ + if( (ch == 0) && callback == 0x47accc) { + video_encode_cb = callback; + fprintf(stderr,"enc func injection save video_encode_cb=0x%x\n", video_encode_cb); + callback = video_encode_capture; + } return real_local_sdk_video_set_encode_frame_callback(ch, callback); }