NET_DVR_PU_STREAM_CFG_V41

Dynamic decoding parameter structure.

Structure Definition

struct{
  DWORD                      dwSize;
  BYTE                       byStreamMode;
  BYTE                       byStreamEncrypt;
  BYTE                       byRes1[2];
  NET_DVR_DEC_STREAM_MODE    uDecStreamMode;
  DWORD                      dwDecDelayTime;
  BYTE                       sStreamPassword[STREAM_PASSWD_LEN/*12*/];
  BYTE                       byRes2[48];
}NET_DVR_PU_STREAM_CFG_V41,*LPNET_DVR_PU_STREAM_CFG_V41;

Members

dwSize

Structure size

byStreamMode

Streaming mode: 0-invalid, 1-get stream by IP address or domain name, 2-get stream by URL, 3-get stream from device by DDNS.

byStreamEncrypt

Whether to encrypt the stream: 0-no, 1-yes.

byRes1

Reserved, set to 0

uDecStreamMode

Streaming configuration parameters, see the structure NET_DVR_DEC_STREAM_MODE for details.

dwDecDelayTime

Decoding delay time duration, unit: millisecond.

sStreamPassword

Stream encryption password. The sensitive information should be encrypted.

byRes2

Reserved, set to 0.