NET_DVR_PU_STREAM_URL

Configuration parameter structure about getting stream by URL.

Structure Definition

struct{
  BYTE    byEnable;
  BYTE    strURL[240];
  BYTE    byTransPortocol;
  WORD    wIPID;
  BYTE    byChannel;
  BYTE    byRes[7];
}NET_DVR_PU_STREAM_URL,*LPNET_DVR_PU_STREAM_URL;

Members

byEnable

Enable/disable getting stream by URL: 0-disable, 1-enable.

strURL

Stream URL

byTransPortocol

Transfer protocol type: 0-TCP, 1-UDP

wIPID

Device ID= iDevInfoIndex + iGroupNO*64 +1

byChannel

Device channel No.

byRes

Reserved, set to 0.

Remarks

The stream URL format is {rtsp://ip[:port]/urlExtension}[?username=username][?password=password][?linkmode=linkmode]. You can also customize the URL format if the network camera supports custom URL.