Structure about input stream parameters.
struct{
DWORD dwSize;
BYTE byValid;
BYTE byCamMode;
WORD wInputNo;
BYTE sCamName[NAME_LEN/*32*/];
NET_DVR_VIDEOEFFECT struVideoEffect;
NET_DVR_PU_STREAM_CFG_V41 struPuStream;
WORD wBoardNum;
WORD wInputIdxOnBoard;
WORD dwResolution;
BYTE byVideoFormat;
BYTE byStatus;
BYTE sGroupName[NAME_LEN];
BYTE byJointMatrix;
BYTE byJointNo;
BYTE byColorMode;
BYTE byScreenServer;
BYTE byRes1[2];
DWORD dwInputSignalNo;
BYTE byRes[120];
}NET_DVR_INPUTSTREAMCFG,*LPNET_DVR_INPUTSTREAMCFG;
Structure size
Valid: 0-no, 1-yes
Signal source types, see the structure NET_DVR_CAM_MODE for details.
Signal source No., this field is extended, so dwInputSignalNo is suggested.
Signal source name
Video parameters, it is valid only when byColorMode is 0, see details in the structure NET_DVR_VIDEOEFFECT.
Input stream parameters, it is valid when entering IP address, see the structure NET_DVR_PU_STREAM_CFG_V41 for details.
Decoding board No., which with signal source, it can only be obtained.
Signal source position on the decoding board, it can only be obtained.
Resolution
Video standards, see the structure VIDEO_STANDARD for details.
Signal source status: 0-invalid, 1-with signal, 2-no signal, 3-exception
Network signal source group name
Link to matrix: 0-not link, 1-link. It is invalid when the byCamMode is NET_DVR_CAM_BNC, NET_DVR_CAM_VGA, NET_DVR_CAM_DVI, or NET_DVR_CAM_HDMI.
Jointing No. of jointed signal source: 0-normal signal source, value larger than 0-jointed signal source.
Color mode: 0-custom, 1-sharp, 2-normal, 3-soft. If it is set to 0, you should set the color mode by the structure NET_DVR_VIDEOEFFECT.
Link to screen server: 0-not link, 1-link
Reserved, set to 0
Signal source No., it is compatible with wInputNo.
Reserved, set to 0