Skip to content

NET_SDK_GetDVRConfig_SubStreamEncodeInfo

Interface Definition

1
2
3
4
5
6
7
BOOL NET_SDK_GetDVRConfig_SubStreamEncodeInfo(
    LONG lUserID,
    LONG lChannel,
    LPVOID lpOutBuffer,
    DWORD dwOutBufferSize,
    LPDWORD lpBytesReturned,
    BOOL bDefautlConfig);
1
2
3
4
5
6
7
public static extern Boolean NET_SDK_GetDVRConfig_SubStreamEncodeInfo(
    Int32 lUserID,
    Int32 lChannel,
    IntPtr lpOutBuffer,
    UInt32 dwOutBufferSize,
    ref int lpBytesReturned,
    Boolean bDefautlConfig);

Function Description

Get device configuration--sub-stream encoding information (only supports 3.0DVR).

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx.
lChannelin LONG Channel number, starting from 0. This parameter is invalid for IPC devices.
lpOutBufferout LPVOID Configure the data pointer. The saved data format is DD_ENCODE_CONFIG * VIDEO_INPUT_NUM.
dwOutBufferSizein DWORD The size of the space requested by lpOutBuffer.
lpBytesReturnedout LPDWORD The actual size of the data returned.
bDefautlConfigin BOOL Whether it is the default configuration, TRUE means getting the default configuration.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code