.


:




:

































 

 

 

 


The below diagram describes a brief API calling reference for basic client application, and users can add in other function modules according to actual application requirements




NetSDK Programming Manual

VERSION 1.4.0.0 (Build 090926)

2009-01-10

 

 

All rights reserved

 

Foreword

Thank you for using our VANGUARD devices. We are going to provide best service for you. This manual may contain spelling grammar and punctuation errors.We will update this manual regularly.

 

 

 

 

 

Modification History

Date Content
2008.10.22 Create
2009.02.12 Add H264_DVR_SearchDevice for search device at LAN
2009.02.18 Add API with talk: H264_DVR_StartVoiceCom_MRH264_DVR_VoiceComSendDataH264_DVR_StopVoiceComH264_DVR_SetTalkMode
2009.09.26 Add API below: H264_DVR_StartDVRRecordH264_DVR_StopDVRRecordH264_DVR_SetSystemDateTime H264_DVR_GetDVRWorkState H264_DVR_ClickKey

 

Catalogue

 

1. 5
1.1 5
1,2 5
ڧߧڧ 6
1,3 6
1,4 API ֧ݧ֧ߧѧ ѧӧߧ 7
2 DATA ڧѧߧڧ ܧ 9
2,1 ܧݧڧ֧ߧܧڧ էѧߧߧ ڧѧߧڧ ܧ 9
2.1.1 ܧ ڧߧާѧڧ ۧӧ 12
2.1.2 ڧߧާѧڧ ѧ 12
2.1.3 ѧڧ ڧߧާѧڧ ѧۧݧ 12
2.1.4 ܧ ܧߧڧԧѧڧ 16
2.1.5 ֧ ܧݧѧӧڧѧ ֧է֧ݧڧ 28
3 API ֧է֧ݧ֧ߧڧ 31
3,1 SDK 31
3,2 ѧߧӧڧ ҧէڧݧߧڧ 32
3,3 34
3,4 Real-Time Monitor 35
3,5 ӧڧ٧ӧ֧է֧ߧڧ ٧ѧԧ٧ܧ 37
3,6 ѧӧݧ֧ߧڧ ӧڧ٧ӧ֧է֧ߧڧ֧ 40
3,7 PTZ ܧߧݧ 40
3,8 41
3,9 42
3,10 43
3,11 ҧߧӧݧ֧ߧڧ 43
3,11 45
3,12 ֧اڧ ٧ѧڧ 47
3,13 ѧߧӧܧ ӧ֧ާ֧ߧ 47
3,14 ѧ ۧӧ 48
3,15 ֧֧ӧѧ ܧݧѧӧڧѧ 48


General Introduction

1.1 ӧ֧է֧ߧڧ
SDK էݧ VANGUARD DVR, ֧֧ӧ ӧڧէ֧֧ӧ֧ .. ֧ܧ ڧӧѧ֧ ߧܧڧ ڧߧ֧֧ۧ, ѧܧا ߧ֧ߧڧ ާ֧اէ ߧڧާ. ѧܧا ֧էѧӧݧ֧ էҧߧ է֧ާߧѧڧ.
ѧܧ֧ ڧ ڧ էӧ ѧ֧: ܧݧѧѧڧ ѧӧݧ֧ߧڧ ҧէӧѧߧڧ֧:
ѧҧ ߧڧ ݧڧӧѧߧڧ ֧اڧާ ֧ѧݧߧԧ ӧ֧ާ֧ߧ, ާ ֧ѧݧߧ ӧ֧ާ֧ߧ, ѧѧܧ֧ ӧ֧ݧ֧ ѧӧݧ֧ߧڧ ٧ӧܧ, ӧڧ٧ӧ֧է֧ߧڧ ٧ѧڧ ٧ѧԧ٧ܧ, ѧߧ֧ߧڧ էѧߧߧ, PTZ ܧߧݧ, ڧԧߧѧݧڧ٧ѧڧ ѧ٧ާ֧֧ߧڧ, ԧݧӧ էڧѧݧ, اߧѧ ѧӧݧ֧ߧڧ, ѧӧݧ֧ߧڧ ݧ٧ӧѧ֧ݧާ, է֧ۧӧڧ ֧ӧԧ, ٧ѧߧ COM ..
ѧӧݧ֧ߧڧ ۧӧѧާ
էѧݧ֧ߧߧԧ ҧߧӧݧ֧ߧڧ, էѧݧ֧ߧߧ ֧֧٧ѧԧ٧ܧ / ӧܧݧ֧ߧڧ, ҧէӧѧߧڧ񧯧ѧۧܧ ѧѧާ֧, ѧܧڧ ܧѧ ҧڧ, ڧԧߧѧݧڧ٧ѧڧ, ٧ѧڧ, ݧ֧էӧѧ֧ݧߧ , ڧ٧ҧѧا֧ߧڧ, , ѧӧݧ֧ߧڧ ݧ٧ӧѧ֧ݧާ,ۧӧ ڧߧߧڧ٧ѧڧ, ҧߧѧا֧ߧڧ էӧڧا֧ߧڧ, ֧ ..

ѧܧ֧ ӧէ ݧ֧էڧ ѧۧݧ

֧֧ӧѧ ҧڧҧݧڧ֧ܧ NetSDK Head file
NetSDK.lib Lib file
NetSDK.dll Interface library
ާߧڧ H264Play.dll Decode assistant library
DllDeinterlace.dll Decode assistant library
hi_h264dec_w.dll Decode assistant library

ڧާ֧ߧ֧ާ:

n էէ֧اܧ ӧڧ٧ӧ֧է֧ߧڧ ֧ѧݧߧ ӧ֧ާ֧ߧ ާߧڧ,, ڧԧߧѧݧڧ٧ѧڧ,էѧݧ֧ߧߧѧ ߧѧۧܧ, ѧӧݧ֧ߧڧ اߧѧݧѧާ ѧ էѧݧ֧.

n էէ֧اܧ TCP ֧֧էѧ ֧, ߧ ҧݧ֧ 10 TCP-֧էڧߧ֧ߧڧ

n ާا֧ ڧݧ٧ӧѧ SDK էݧ էܧݧ֧ߧڧ ۧӧ էݧ ѧ٧ѧҧܧ ܧݧڧ֧ߧܧڧ ԧѧާ, ڧݧ ӧ ާا֧ ڧݧ٧ӧѧ SDK ڧߧ֧֧ۧ էݧ ѧ٧ѧҧܧ ֧ӧ֧ߧ ԧѧާ, ѧܧڧ ܧѧ ާѧӧ ڧߧާѧڧ ֧֧էѧ, ӧڧ٧ӧ֧է֧ߧڧ, ڧԧߧѧݧڧ٧ѧڧ ...

n ܧݧڧ֧ߧ էէ֧اڧӧѧ֧ ާݧ-ڧ٧ҧѧا֧ߧڧ ֧٧ݧڧ, ӧܧݧѧ QCIFCIF2CIFHalfD1D1VGA640480and etc.

n ݧ SDK ӧڧ٧ӧ֧էڧ /ܧѧڧӧѧ֧, էڧ ӧ ID ߧ ާا֧ ѧӧݧ ӧڧ٧ӧ֧է֧ߧڧ֧ ٧ѧԧ٧ܧ ߧ էߧ ܧѧߧѧݧ էߧ ا ӧ֧ާ.

 

Desig of principia

1.1 ڧѧߧڧ ԧѧާڧӧѧߧڧ

n ѧߧӧܧ էѧݧ֧ߧڧ

1ߧѧѧݧ ѧ ٧ӧѧߧߧ H264_DVR_Init() ҧ ѧߧӧڧ SDKܧԧէ ڧݧا֧ߧڧ ܧ, calling H264_DVR_Cleanup() ҧ ӧҧէڧ ӧ ٧ѧߧ ֧.

2 ݧڧߧӧ API էݧاߧ ߧѧ٧ӧѧ after H264_DVR_Init(), ֧֧ H264_DVR_Cleanup() H264_DVR_GetLastError ާا֧ ҧ ߧѧ٧ӧѧ ݧҧ ާ֧.

n ӧ

֧֧ ӧէ է֧ӧѧۧ, ӧ էݧاߧ ӧӧ֧ H264_DVR_Login() login first, ٧ѧ֧ ӧ էݧاߧ ӧӧ֧ H264_DVR_LoginEx(). ݧ ӧ ֧ ֧ߧ, ӧ֧ߧڧ֧ (ԧݧҧѧݧߧ ܧ), ܧ ֧ڧߧߧ ܧѧߧѧ, ܧ ӧ ާا֧ ڧݧ٧ӧѧ ֧ѧڧ է֧ӧѧۧ. ӧ֧էڧ H264_DVR_Logout() ҧ ٧ѧܧ ֧ڧ.

 

n ߧܧڧ ҧѧߧԧ ӧ٧ӧ

ߧܧڧ ҧѧߧԧ ӧ٧ӧ ڧާ֧֧ ѧѧާ֧: dwUser, it is elf-define parameter, you can define your owner data. ѧާ֧է֧ݧ֧ߧߧ ѧѧާ֧, ާا֧ ֧է֧ݧڧ ѧѧާ֧ ӧݧѧէ֧ݧ.


API Calling Reference

The below diagram describes a brief API calling reference for basic client application, and users can add in other function modules according to actual application requirements.

A. Initialization

SDK Initialization H264_DVR_Init ()

 

B. Set callback for alarm message

Set callback H264_DVR_SetDVRMessCallBack ()

 

C. Login in

Login in H264_DVR_Login () H264_DVR_LoginEx () Subscribe for alarm message H264_DVR_SetupAlarmChan ()

 

D. Operation of device,get and set parameter configuration

Parameter configuration H264_DVR_GetDevConfig () H264_DVR_SetDevConfig () Log searching H264_DVR_FindDVRLog () PTZ control H264_DVR_PTZControl () H264_DVR_PTZControlEx ()

 

E. Real-time preview

Open and close monitor channel H264_DVR_RealPlay () H264_DVR_StopRealPlay () Callback for saving monitor data H264_DVR_SetRealDataCallBack ()

 

F. Playback/Download

Record searching H264_DVR_FindFile () Playback control H264_DVR_PlayBackByName() H264_DVR_PlayBackControl() H264_DVR_StopPlayBack() Download H264_DVR_GetFileByName () H264_DVR_GetDownloadPos() H264_DVR_StopGetFile ()

 


 

G. Remote control

Upgrade H264_DVR_Upgrade() H264_DVR_GetUpgradeState() H264_DVR_CloseUpgradeHandle() Reboot /Clear log H264_DVR_ControlDVR

 

H. Login out

Cancel subscribe for alarm message H264_DVR_CloseAlarmChan () Disconnect H264_DVR_Logout ()

 

I. Release SDK resource

SDK exit H264_DVR_Cleanup ()

 





:


: 2016-10-27; !; : 357 |


:

:

.
==> ...

1543 - | 1474 -


© 2015-2024 lektsii.org - -

: 0.013 .