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_SetFishEyeAdjust

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_SetFishEyeAdjust(
        POINTERHANDLE lPlayHandle,
        FISHEYE_MODE fishEyeMode);

    1
    2
    3
    public static extern Boolean NET_SDK_SetFishEyeAdjust(
        POINTERHANDLE lPlayHandle,
        UInt32 fishEyeMode);

### Function Description

(Only supports Windows) Set the fisheye correction mode. This interface needs to be called to enter and exit the fisheye correction mode. It is only used in single window mode.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lPlayHandlein | POINTERHANDLE | The preview handle, which is the return value of `NET_SDK_LivePlay` or `NET_SDK_LivePlayEx`.
fishEyeModein | `FISHEYE_MODE` | Fisheye mode.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code