Structure about passive decoding parameters.
struct{
WORD wTransProtol;
WORD wPassivePort;
NET_DVR_IPADDR struMcastIP;
BYTE byStreamType;
BYTE byRes[7];
}NET_DVR_MATRIX_PASSIVEMODE,*LPNET_DVR_MATRIX_PASSIVEMODE;
Transmission protocol type: 0-TCP, 1-UDP, 2-MCAST
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.
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.
Stream type: 1-real-time stream, 2-file stream.
Reserved, set to 0