Skip to content

NET_SDK_SetYUVCallBack

Interface Definition

1
2
3
4
BOOL NET_SDK_SetYUVCallBack(
    POINTERHANDLE lLiveHandle,
    YUV_DATA_CALLBACK fYuvCallBack,
    void* pUser);
1
2
3
4
public static extern bool NET_SDK_SetYUVCallBack(
    POINTERHANDLE lLiveHandle,
    YUV_DATA_CALLBACK fYuvCallBack,
    IntPtr pUser);

Function Description

Set the callback for previewing the decoded YUV data.

Parameter Description

Parameters Type Remark
lLiveHandlein POINTERHANDLE The preview handle, which is the return value of NET_SDK_LivePlay or NET_SDK_LivePlayEx.
fYuvCallBackin YUV_DATA_CALLBACK Callback function, refer to YUV_DATA_CALLBACK.
pUserin void* User-defined parameters.

Return Value

  • type:BOOL

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

Remarks

None

Error Code