Skip to content

NET_SDK_SetLiveDataCallBackEx

Interface Definition

1
2
3
4
BOOL NET_SDK_SetLiveDataCallBackEx(
    POINTERHANDLE lLiveHandle,
    LIVE_DATA_CALLBACK_EX fLiveDataCallBack,
    void* pUser);
1
2
3
4
public static extern Boolean NET_SDK_SetLiveDataCallBackEx(
    POINTERHANDLE lLiveHandle,
    LIVE_DATA_CALLBACK_EX fLiveDataCallBack,
    IntPtr pUser);

Function Description

Set the preview callback (extension of NET_SDK_SetLiveDataCallBack).

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_EX Callback function, refer to LIVE_DATA_CALLBACK_EX.
pUserin void* User-defined parameters.

Return Value

  • type:BOOL

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

Remarks

None

Error Code