Example
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
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
How to get live stream Step 1 : create handle and get device list (as login) 1 3 2 4
How to get live stream (cont) After create handle and get device list
How to get live stream (cont) Step 2. Create player and get sensor profile 1 2 3
How to get live stream (cont) Step 3. Select profile and attach session 9 8
How to get live stream (cont) After select profile and attach session
How to get live stream (cont) You can connect/disconnect multiple cameras by push Attachsession/Detachsession button.
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.
How to set audio on/off Audio On/Off: Enter camera ID and push “SetAudioOn”, “SetAudioOff” button. 1 2
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()
How to send audio to camera Set camera sensor device id after create_handle. 1 2
How to send audio to camera (Code) You may use the function below. MC family Create_HandleWChar() LiveView_CreatePlayer() Talk_Enable()
How to get DI Status Enter DI device id after create handle 2 1
How to get DI Status (cont) After enter DI status
How to get DO Status Enter DO device id after create handle 1 2
How to get DO Status (cont) After enter DO status
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()
How to control DO Enter DO device id after create handle 1 2 3
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()
How to get event notification Enable event notification on your server.
How to get event notification (cont) Create handle and press SubscribeEvent button. 1 2
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
How to Get PTZ Preset List Enter PTZ device id after get liveview streaming 1 2
How to Get PTZ Preset List (cont) After get PTZ preset list
How to Execute Preset GO/Clear Preset clear 1 3 2
How to Execute Preset Set 1 2 3
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()
How to logout liveview Detach sessions and destroy player 1 2 3
How to logout liveview(cont) Go to General page and destroy the handle
How to logout liveview (Code) You may use the function below. Titan, Crystal, MC family: LiveView_DestroyPlayer() Destroy_Handle()
How to use playback Step 1 : create handle and get device list 1 3 2 4
How to use playback (cont) After create handle and get device list
How to use playback (cont) Step 2. Create player and attach session 1 2 3
How to use playback (cont) Step 3. Select time period and open record
How to use playback (cont) After click “Play” button
How to use playback (Code) You may use the function below. Titan, Crystal, MC family: Create_HandleWChar() PlayBack_CreatePlayer() PlayBack_AttachSession1ExtExt() PlayBack_OpenRecord()
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
How to query events After enter query criteria
How to query events (Code) You may use the function below. Titan, Crystal Create_HandleWChar() PlayBack_CreatePlayer() Info_QueryEventsExt() MC family: Info_QueryEvents()
How to export video Follow the steps of How to use playback, until the “Play” button is enabled.
How to export video(cont) Make sure the time, exclude audio, profile, path are all correct, and then click “Export”.
How to export video(cont) After pressed “Export”, check progress and wait for complete, or press “StopExport” to cancel it.
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
How to take snapshot Follow How to get live stream or How to use playback to get video shown.
How to take snapshot (cont) Switch to “General” tab, check the save path, and then click “SnapShot”.
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()
How to get RecordDateList After create handle and CreatePlayer 1 2
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
How to get Record logs Step1. Create handle and Get record date list 1
How to get Record logs (cont) Step2. Enter query date and get record logs 2 3
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()
How to get ScheduleLogs Step1. Create handle and Get record date list 1
How to get ScheduleLogs (cont) Step2. Enter query date and get schedule logs 2
How to get ScheduleLogs (cont) Step3. Enter GetScheduleLogs 3
How to get ScheduleLogs (Code) You may use the function below. MC family Create_HandleWChar() Info_GetRangedRecordDateList() Info_GetRecordLogsListExt() Info_GetScheduleLogsList()
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.