mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 13:37:19 +00:00
fix rtsp support for panv2
This commit is contained in:
parent
ccdbade486
commit
7e9aa36d46
@ -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.
|
||||
|
Binary file not shown.
Binary file not shown.
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user