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.

# LIVE_DATA_CALLBACK_EX

### Callback Definition

    1
    void LIVE_DATA_CALLBACK_EX(POINTERHANDLE lLiveHandle, UINT dataType, BYTE* pBuffer, UINT dataLen, void* pUser);

### Function Description

Real-time preview of data capture data callback.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lLiveHandlein | POINTERHANDLE | The preview handle, which is the return value of `NET_SDK_LivePlay` or `NET_SDK_LivePlayEx`.
dataTypeout | UINT | Data frame type, see `DD_FRAME_TYPE`.
pBufferout | BYTE* | Buffer pointer, the content is `NET_SDK_FRAME_INFO` + FrameData.
dataLenout | UINT | Buffer data length.
pUserin | void* | User-defined parameters are passed in when setting the callback function.

### Return Value

None

### Remarks

None

Error Code