Structure about front-end device information.
struct{
BYTE byChanType;
BYTE byStreamId[STREAM_ID_LEN/*32*/];
BYTE byRes1[3];
DWORD dwChannel;
BYTE byRes2[24];
BYTE byAddress[MAX_DOMAIN_NAME/*64*/];
WORD wDVRPort;
BYTE byChannel;
BYTE byTransProtocol;
BYTE byTransMode;
BYTE byFactoryType;
BYTE byDeviceType;
BYTE byDispChan;
BYTE bySubDispChan;
BYTE byResolution;
BYTE byRes[2];
BYTE sUserName[NAME_LEN/*32*/];
BYTE sPassword[PASSWD_LEN/*16*/];
}NET_DVR_DEV_CHAN_INFO_EX,*LPNET_DVR_DEV_CHAN_INFO_EX;
Channel type: 0-normal channel, 1-channel-zero, 2-stream ID, 3-local input source
Stream ID, it is valid only when the byChanType is 2.
Reserved
Channel No., it is valid only when the byChanType is 0, 1, 3. If the channel type is local input source, this member is the local source index No.
Reserved
Device IP address or domain name
Device port number
Invalid
Transfer protocol type: 0-TCP, 1-UDP
Stream mode: 0-main stream, 1-sub-stream
Front-end device manufacturer
Device type (for MVC only): 1-network camera, 2-encoding device
Display channel No.
Sub display channel No.
Resolution: 1- CIF, 2- 4CIF, 3- 720P, 4- 1080P, 5- 500W
Reserved, set to 0.
User name for log in to device.
Device password.