NET_DVR_MatrixStartDynamic_V41

Start dynamic decoding.

API Definition

BOOL NET_DVR_MatrixStartDynamic_V41(
  LONG                          lUserID,
  DWORD                         dwDecChanNum,
  NET_DVR_PU_STREAM_CFG_V41     *lpDynamicInfo
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

dwDecChanNum

[IN] Decoding channel No. or sub window No. (1-byte video wall No.+1-byte sub window No.+2-byte window No.)

lpDynamicInfo

[IN] Dynamic decoding parameters, see details in the structure NET_DVR_PU_STREAM_CFG_V41.

Return Values

Return TRUE for success, and return FALSE for failure.

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

Remarks

After starting dynamic decoding by calling this API, the decoding will not stop until the NET_DVR_MatrixStopDynamic is called. If the network disconnected during decoding, the decoder will automatically reconnect to the encoding device until reconnected.