Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_CLIENTINFO,LPNET_SDK_CLIENTINFO

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef struct _net_sdk_clientinfo
    {
        LONG lChannel;
        LONG streamType;
        HWND hPlayWnd;
        int bNoDecode;
    } NET_SDK_CLIENTINFO, * LPNET_SDK_CLIENTINFO;

    1
    2
    3
    4
    5
    6
    7
    8
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_CLIENTINFO
    {
        public Int32 lChannel;
        public Int32 streamType;
        public IntPtr hPlayWnd;
        public Int32 bNoDecode;
    }

### Function Description

Preview client configuration information.

### Member Description

Member | Type | Remark
--- | --- | ---
lChannel | LONG | Channel number, starting from 0.
streamType | LONG | Data stream type, refer to `NET_SDK_STREAM_TYPE`.
hPlayWnd | HWND | The playback window handle.
bNoDecode | int | 0: decode; 1: do not decode. Only for Windows platform, the default value is 0.

Error Code