OpenSDK
V4.2.0
|
Functions | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_StartSearchEx (const char *szSessionId, const char *szDevSerial, const int iChannelNo, const char *szStartTime, const char *szStopTime) |
Search video files,including the video files stored in cloud storage and devide storage. Only supports searching by date. Asynchronous API. Return value only stands for operating succeeded, doesn't mean playing succeeded. Judge the result via the message callback function msgid. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_StartPlayBackEx (const char *szSessionId, HWND hPlayWnd, const char *szDevSerial, const int iChannelNo, const char *szSafeKey, const char *szStartTime, const char *szStopTime) |
Start playback, asynchronization API. Return value only stands for operating succeeded, doesn't mean playing succeeded. Judge the result via the message callback function msgid. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_PlayBackResume (const char *szSessionId) |
Playback resumed. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_PlayBackPause (const char *szSessionId) |
Playback paused. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_StopPlayBackEx (const char *szSessionId) |
Playback stopped. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_PlayBackPause | ( | const char * | szSessionId | ) |
Playback paused.
[in] | szSessionId | Session ID |
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_PlayBackResume | ( | const char * | szSessionId | ) |
Playback resumed.
[in] | szSessionId | Session ID |
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_StartPlayBackEx | ( | const char * | szSessionId, |
HWND | hPlayWnd, | ||
const char * | szDevSerial, | ||
const int | iChannelNo, | ||
const char * | szSafeKey, | ||
const char * | szStartTime, | ||
const char * | szStopTime | ||
) |
Start playback, asynchronization API. Return value only stands for operating succeeded, doesn't mean playing succeeded. Judge the result via the message callback function msgid.
[in] | szSessionId | Session ID |
[in] | hPlayWnd | Display window handle, NULL stands for getting streaming only, no playback |
[in] | szDevSerial | Device serial No. |
[in] | iChannelNo | Device channel No. |
[in] | szSafeKey | Video encryption key |
[in] | szStartTime | Start time |
[in] | szStopTime | End time |
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_StartSearchEx | ( | const char * | szSessionId, |
const char * | szDevSerial, | ||
const int | iChannelNo, | ||
const char * | szStartTime, | ||
const char * | szStopTime | ||
) |
Search video files,including the video files stored in cloud storage and devide storage. Only supports searching by date. Asynchronous API. Return value only stands for operating succeeded, doesn't mean playing succeeded. Judge the result via the message callback function msgid.
[in] | szSessionId | Session ID |
[in] | szDevSerial | Device serial No. |
[in] | iChannelNo | Device channel No. |
[in] | szAccessToken | Token verification |
[in] | szStartTime | Start time |
[in] | szStopTime | End time |
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_StopPlayBackEx | ( | const char * | szSessionId | ) |
Playback stopped.
[in] | szSessionId | Session ID |