NET_SDK_LivePlayEx¶
Interface Definition¶
1 2 3 4 5 | |
1 2 3 4 5 | |
Function Description¶
Live preview (extension of NET_SDK_LivePlay).
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| lUserIDin | LONG | User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx. |
| lpClientInfoin | LPNET_SDK_CLIENTINFO | For preview parameters, refer to the LPNET_SDK_CLIENTINFO structure. |
| fLiveDataCallBackin | LIVE_DATA_CALLBACK_EX | Preview data callback parameter, the default value is NULL, refer to LIVE_DATA_CALLBACK_EX. |
| pUserin | void* | User-defined parameters. |
Return Value¶
-
type:POINTERHANDLE
-
remark:-1 indicates failure, and other values are used as handle parameters of functions such as
NET_SDK_StopLivePlay.
Remarks¶
After successfully calling this interface, if you need to capture real-time stream data, you can call the interface NET_SDK_SetLiveDataCallBack, NET_SDK_SetLiveDataCallBackEx or NET_SDK_SetYUVCallBack to register a callback function for capturing stream data, and process the callback stream data in the callback function.