NET_SDK_LivePlay¶
Interface Definition¶
1 2 3 4 5 | |
1 2 3 4 5 | |
Function Description¶
Real-time preview.
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 LPNET_SDK_CLIENTINFO. |
| fLiveDataCallBackin | LIVE_DATA_CALLBACK | Preview data callback parameter, the default value is NULL, refer to LIVE_DATA_CALLBACK. |
| pUserin | void* | User-defined parameters. |
Return Value¶
-
type:BOOL
-
remark:Returns TRUE if successful, FALSE if failed.
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.