Skip to content

NET_SDK_SetLiveDataCallBack

Interface Definition

1
2
3
4
BOOL NET_SDK_SetLiveDataCallBack(
    POINTERHANDLE lLiveHandle,
    LIVE_DATA_CALLBACK fLiveDataCallBack,
    void* pUser);
1
2
3
4
public static extern bool NET_SDK_SetLiveDataCallBack(
    POINTERHANDLE lLiveHandle,
    LIVE_DATA_CALLBACK fLiveDataCallBack,
    IntPtr pUser);

Function Description

Set the preview callback.

Parameter Description

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

Return Value

  • type:BOOL

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

Remarks

None

Error Code