NET_DVR_MATRIX_PASSIVEMODE

Structure about passive decoding parameters.

Structure Definition

struct{
  WORD             wTransProtol;
  WORD             wPassivePort;
  NET_DVR_IPADDR   struMcastIP;
  BYTE             byStreamType;
  BYTE             byRes[7];
}NET_DVR_MATRIX_PASSIVEMODE,*LPNET_DVR_MATRIX_PASSIVEMODE;

Members

wTransProtol

Transmission protocol type: 0-TCP, 1-UDP, 2-MCAST

wPassivePort

TCP or UDP port. For TCP, the default port number is 8000; for UDP, the port number should be set according to different decoding channel.

struMcastIP

This parameter is valid only when the transmission protocol is MCAST, and it is the multicast address (currently reserved), see details in the structure NET_DVR_IPADDR.

byStreamType

Stream type: 1-real-time stream, 2-file stream.

byRes

Reserved, set to 0