NET_DVR_MatrixStartPassiveDecode

Start the passive decoding.

API Definition

LONG NET_DVR_MatrixStartPassiveDecode(
  LONG                            lUserID,
  DWORD                           dwDecChanNum,
  NET_DVR_MATRIX_PASSIVEMODE      *lpPassiveMode
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40

dwDecChanNum

[IN] Decoding channel No.

lpPassiveMode

[IN] Passive decoding parameters, see details in the structure NET_DVR_MATRIX_PASSIVEMODE.

Return Values

Return -1 for failure, and return other values as the parameters of API NET_DVR_MatrixSendData.

If -1 is returned, you can call NET_DVR_GetLastError to get the error code.