Other Parts Discussed in Thread: TVP5158
Hi Group,
I'm currently using the UDWorks DM 8168 DVR-RDK and the latest TI - RDK 4.0.0.3
I've written a DVR application that is based on the VCAP_VENC_VDIS demo use case.
The app is running stable and does generate H264 video streams (D1 & CIF). But I have the following problems:
1.
When I register the vsys event handler (Vsys_registerEventHandler), I do not receive other events than the VSYS_EVENT_HDMI_TV_CONNECTED & VSYS_EVENT_HDMI_TV_DISCONNECTED. I did expect to also receive video loss & tampering events. But no events are triggered when covering or disconnecting a camera.
I also have the scd thread running and I do receive tamper results by decoding the VALG_FRAMERESULTBUF_S from the Scd_bitsWriteMain function. Also by calling the Vcap_getVideoSourceStatus I receive the correct video status.
2.
When I start the system with a camera covered, the VALG_FRAMERESULTBUF_S does not report that the signal is tampered. When I uncover the camera I sometimes do receive a pChResult->frmResult & ALG_LINK_SCD_DETECTOR_TAMPER result, so it's kind of reversed logic here.
When the system is started and no cameras are covered/tampered, everything works as expected. So I expect the setup to be correct.
Do I miss any information? Any hints to my problems?
Thanks in advance & best regards
Frank