Of course, try my code. Just keep in mind i've made it for DVR i dont know if there is any diffrence for direct connection to camera.
import of DLLs:
#region RealPlay_V40
public delegate void fRealDataCallBack_V30(int lRealHandle, uint dwDataType, byte[] pBuffer, uint dwBufSize, IntPtr...