NET_DVR_PU_STREAM_URL_CFG

Streaming URL structure

Structure Definition

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;

Members

byEnable

Whether to enable: 0-no, 1-yes.

byRes

Reserved, set to 0.

byStreamMediaIP

IP address of stream media server.

wStreamMediaPort

Port No. of stream media server.

byTransmitType

Transport protocol of steam media server: 0-TCP, 1-UDP, 2-RTSP

byRes1

Reserved, set to 0.

byDevIP

Device IP address.

wDevPort

Device port No.

byChannel

Device channel No.

byTransMode

Transmission mode: 0-main stream, 1-sub-stream

byProType

Manufacturer protocol type, refer to the structure NET_DVR_PROTO_TYPE for details.

byTransProtocol

Transport protocol type: 0-TCP, 1-UDP, 2-multicast, 3-RTP

byRes3

Reserved, set to 0.

sUserName

User name for logging in to device.

sPassWord

Password for logging in to device.

byRes

Reserved, set to 0.