Streaming URL structure
struct{
BYTE byEnable;
BYTE byRes[3];
BYTE byStreamMediaIP[64];
WORD wStreamMediaPort;
BYTE byTransmitType;
BYTE byRes1[33];
BYTE byDevIP[64];
WORD wDevPort;
BYTE byChannel;
BYTE byTransMode;
BYTE byProType;
BYTE byTransProtocol;
BYTE byRes3[2];
BYTE sUserName[NAME_LEN/*32*/];
BYTE sPassWord[PASSWD_LEN/*16*/];
BYTE byRes2[28];
}NET_DVR_PU_STREAM_URL_CFG,*LPNET_DVR_PU_STREAM_URL_CFG;
Whether to enable: 0-no, 1-yes.
Reserved, set to 0.
IP address of stream media server.
Port No. of stream media server.
Transport protocol of steam media server: 0-TCP, 1-UDP, 2-RTSP
Reserved, set to 0.
Device IP address.
Device port No.
Device channel No.
Transmission mode: 0-main stream, 1-sub-stream
Manufacturer protocol type, refer to the structure NET_DVR_PROTO_TYPE for details.
Transport protocol type: 0-TCP, 1-UDP, 2-multicast, 3-RTP
Reserved, set to 0.
User name for logging in to device.
Password for logging in to device.
Reserved, set to 0.