Presentation is loading. Please wait.

Presentation is loading. Please wait.

Example.

Similar presentations


Presentation on theme: "Example."— Presentation transcript:

1 Example

2 Outline(Liveview) How to get live stream How to set audio on/off
How to send audio to camera How to get DI Status How to get DO Status How to control DO How to get event notification How to Get PTZ Preset List How to Execute Preset GO/Clear How to Execute Preset Set How to logout liveview

3 Outline(Playback) How to use playback How to query events
How to export video How to take snapshot How to get RecordDateList How to get RecordLogs How to get ScheduleLogs

4 How to get live stream Step 1 : create handle and get device list (as login) 1 3 2 4

5 How to get live stream (cont)
After create handle and get device list

6 How to get live stream (cont)
Step 2. Create player and get sensor profile 1 2 3

7 How to get live stream (cont)
Step 3. Select profile and attach session 9 8

8 How to get live stream (cont)
After select profile and attach session

9 How to get live stream (cont)
You can connect/disconnect multiple cameras by push Attachsession/Detachsession button.

10 How to get live stream (Code)
You may use the function below. Titan, Crystal, MC family: Create_HandleWChar() Info_GetDeviceList_Ext() LiveView_CreatePlayer() LiveView_AttachSessionExtExt() The function below is the option. Info_GetSensorProfileList() LiveView_AttachRawVideoSession()  MC family support only.

11 How to set audio on/off Audio On/Off: Enter camera ID and push “SetAudioOn”, “SetAudioOff” button. 1 2

12 How to set audio on/off (Code)
You may use the function below. Titan, Crystal, MC family: Create_HandleWChar() LiveView_CreatePlayer() LiveView_AttachSessionExtExt() LiveView_SetAudioOn() LiveView_SetAudioOff()

13 How to send audio to camera
Set camera sensor device id after create_handle. 1 2

14 How to send audio to camera (Code)
You may use the function below. MC family Create_HandleWChar() LiveView_CreatePlayer() Talk_Enable()

15 How to get DI Status Enter DI device id after create handle 2 1

16 How to get DI Status (cont)
After enter DI status

17 How to get DO Status Enter DO device id after create handle 1 2

18 How to get DO Status (cont)
After enter DO status

19 How to get DI/DO Status (Code)
You may use the function below. Titan, Crystal, MC family: Create_HandleWChar() Info_GetDeviceList_Ext() LiveView_CreatePlayer() Info_GetDIOStatus_Ext()

20 How to control DO Enter DO device id after create handle 1 2 3

21 How to control DO (Code)
You may use the function below. Titan, Crystal, MC family: Create_HandleWChar() Info_GetDeviceList_Ext() LiveView_CreatePlayer() Control_DigitalOutput_Ext()

22 How to get event notification
Enable event notification on your server.

23 How to get event notification (cont)
Create handle and press SubscribeEvent button. 1 2

24 How to get event notification (Code)
You may use the function below. Titan, Crystal Create_HandleWChar() Event_SubscribeExt()  Only for Titan/Crystal Event_UnsubscribeExt MC family Event_Subscribe()  Only for MC family

25 How to Get PTZ Preset List
Enter PTZ device id after get liveview streaming 1 2

26 How to Get PTZ Preset List (cont)
After get PTZ preset list

27 How to Execute Preset GO/Clear
Preset clear 1 3 2

28 How to Execute Preset Set
1 2 3

29 How to control PTZ (Code)
You may use the function below. Titan, Crystal, MC family: Create_HandleWChar() Info_GetDeviceList_Ext() LiveView_CreatePlayer() Info_GetPTZCapabilityExt() Info_GetPTZPreset_CS_Ext() Control_PTZ_PTZDeviceID_CS_Ext()

30 How to logout liveview Detach sessions and destroy player 1 2 3

31 How to logout liveview(cont)
Go to General page and destroy the handle

32 How to logout liveview (Code)
You may use the function below. Titan, Crystal, MC family: LiveView_DestroyPlayer() Destroy_Handle()

33 How to use playback Step 1 : create handle and get device list 1 3 2 4

34 How to use playback (cont)
After create handle and get device list

35 How to use playback (cont)
Step 2. Create player and attach session 1 2 3

36 How to use playback (cont)
Step 3. Select time period and open record

37 How to use playback (cont)
After click “Play” button

38 How to use playback (Code)
You may use the function below. Titan, Crystal, MC family: Create_HandleWChar() PlayBack_CreatePlayer() PlayBack_AttachSession1ExtExt() PlayBack_OpenRecord()

39 How to query events Query event after create handle Titan,Crystal:
CreatePlayer Select type, time, deviceID Push QueryEvent buttom MC Family: 4 2 3 1

40 How to query events After enter query criteria

41 How to query events (Code)
You may use the function below. Titan, Crystal Create_HandleWChar() PlayBack_CreatePlayer() Info_QueryEventsExt() MC family: Info_QueryEvents()

42 How to export video Follow the steps of How to use playback, until the “Play” button is enabled.

43 How to export video(cont)
Make sure the time, exclude audio, profile, path are all correct, and then click “Export”.

44 How to export video(cont)
After pressed “Export”, check progress and wait for complete, or press “StopExport” to cancel it.

45 How to export video (Code)
You may use the function below. Titan, Crystal Create_HandleWChar() PlayBack_CreatePlayer() PlayBack_AttachSession1ExtExt() PlayBack_OpenRecord() PlayBack_ExportVideo_Ext()  Only for Titan/Crystal PlayBack_StopExport_Ext()  Only for Titan/Crystal MC family: PlayBack_ExportVideo()  Only for MC family PlayBack_StopExport()  Only for MC family

46 How to take snapshot Follow How to get live stream or How to use playback to get video shown.

47 How to take snapshot (cont)
Switch to “General” tab, check the save path, and then click “SnapShot”.

48 How to take snapshot (Code)
You may use the function below. Titan, Crystal, MC family LiveView_GetSessionCurrentImage()  LiveView only PlayBack_GetSessionCurrentImage()  Playback only Utility_SaveSnapShotImage()

49 How to get RecordDateList
After create handle and CreatePlayer 1 2

50 How to get RecordDateList (Code)
You may use the function below. Titan, Crystal Create_HandleWChar() LiveView_CreatePlayer() Info_GetRecordDateListExt()  Only for Titan/Crystal MC family Info_GetRangedRecordDateList()  Only for MC family

51 How to get Record logs Step1. Create handle and Get record date list 1

52 How to get Record logs (cont)
Step2. Enter query date and get record logs 2 3

53 How to get RecordLogs (Code)
You may use the function below. Titan, Crystal Create_HandleWChar() LiveView_CreatePlayer() Info_GetRecordDateListExt() Info_GetRecordLogsListExt() MC family Info_GetRangedRecordDateList()

54 How to get ScheduleLogs
Step1. Create handle and Get record date list 1

55 How to get ScheduleLogs (cont)
Step2. Enter query date and get schedule logs 2

56 How to get ScheduleLogs (cont)
Step3. Enter GetScheduleLogs 3

57 How to get ScheduleLogs (Code)
You may use the function below. MC family Create_HandleWChar() Info_GetRangedRecordDateList() Info_GetRecordLogsListExt() Info_GetScheduleLogsList()

58 Note Please install the vcredist_x86 before start using SDK and Tester. Please enable desktop experience, if your operating system is windows 2008 R2 and above.


Download ppt "Example."

Similar presentations


Ads by Google