Configuration parameter structure about DDNS.
struct{
BYTE byDevAddress[MAX_DOMAIN_NAME/*64*/];
BYTE byTransProtocol;
BYTE byTransMode;
BYTE byDdnsType;
BYTE byRes1;
BYTE byDdnsAddress[MAX_DOMAIN_NAME/*64*/];
WORD wDdnsPort;
BYTE byChanType;
BYTE byFactoryType;
DWORD dwChannel;
BYTE byStreamId[STREAM_ID_LEN/*32*/];
BYTE sUserName[NAME_LEN/*32*/];
BYTE sPassword[PASSWD_LEN/*16*/];
WORD wDevPort;
BYTE byRes2[2];
}NET_DVR_DEV_DDNS_INFO,*LPNET_DVR_DEV_DDNS_INFO;
Device domain name
Transfer protocol type: 0-TCP, 1-UDP, 2-multicast
Stream mode: 0-main stream, 1-sub-stream
DDNS type: 0-IPServer, 1-Dyndns, 2- PeanutHull, 3- NO-IP, 4-hiDDNS
Reserved
DDNS address
DDNS port number
Channel type: 0-normal channel, 1-channel-zero, 2-stream ID
Front-end device manufacturer
Device channel No.
Stream ID, it is valid only when the byChanType is 2.
User name for log in to device
Device password.
Device port number
Reserved