OpenSDK  V4.2.0
OpenNetStreamDefine.h
Go to the documentation of this file.
1 
12 #ifndef _H_OPENNETSTREAMDEFINE_H_
13 #define _H_OPENNETSTREAMDEFINE_H_
14 
18 typedef int OPENSDK_RESULT;
19 
24 {
31 
44 };
45 
49 typedef struct _STREAM_TIME
50 {
51  unsigned int iYear;
52  unsigned int iMonth;
53  unsigned int iDay;
54  unsigned int iHour;
55  unsigned int iMinute;
56  unsigned int iSecond;
58 
63 {
68  BABY_CRY_ALARM = 10003,
69  MAGNETIC_ALARM = 10004,
72  FLOOD_IN_ALARM = 10008,
75  SHELTER_ALARM = 10011,
76  VIDEO_LOSS_ALARM = 10012,
80  DOOR_BELL_ALARM = 10016,
81  DEVOFFLINE_ALARM = 10017,
82  CURTAIN_ALARM = 10018,
85  DEFOCUS_ALARM = 10021,
95  MAG_GIM_ALARM = 10031,
97  INTRUSION_ALARM = 10033,
98  IO_00_ALARM = 10100,
99  IO_01_ALARM = 10101,
100  IO_02_ALARM = 10102,
101  IO_03_ALARM = 10103,
102  IO_04_ALARM = 10104,
103  IO_05_ALARM = 10105,
104  IO_06_ALARM = 10106,
105  IO_07_ALARM = 10107,
106  IO_08_ALARM = 10108,
107  IO_09_ALARM = 10109,
108  IO_10_ALARM = 10110,
109  IO_11_ALARM = 10111,
110  IO_12_ALARM = 10112,
111  IO_13_ALARM = 10113,
112  IO_14_ALARM = 10114,
113  IO_15_ALARM = 10115,
114  IO_16_ALARM = 10116
115 };
116 
120 typedef enum _AlarmNotifyType
121 {
126 
131 {
132  UP,
149 };
150 
156 {
159 };
160 
165 {
166  PIR,
172 };
173 
178 {
183 };
184 
186 {
187  D,
188  V,
189  I
190 };
191 
195 enum DataType {
199 };
200 
206  LOGIN_VER = 2,
210 };
211 
215 enum ConfigKey {
220 };
221 
228 };
229 
230 #endif
IO-11 alarm.
Definition: OpenNetStreamDefine.h:109
Defocus detection alarm.
Definition: OpenNetStreamDefine.h:85
IO-15 alarm.
Definition: OpenNetStreamDefine.h:113
Intrusion detection alarm.
Definition: OpenNetStreamDefine.h:78
struct _STREAM_TIME STREAM_TIME
Emergency button event.
Definition: OpenNetStreamDefine.h:66
Armed.
Definition: OpenNetStreamDefine.h:180
Unsupported.
Definition: OpenNetStreamDefine.h:181
Definition: OpenNetStreamDefine.h:145
IO-14 alarm.
Definition: OpenNetStreamDefine.h:112
Device.
Definition: OpenNetStreamDefine.h:187
DataType
Data type of audio and video stream.
Definition: OpenNetStreamDefine.h:195
Region exiting detection alarm.
Definition: OpenNetStreamDefine.h:94
IO-6 alarm.
Definition: OpenNetStreamDefine.h:104
Combustible gas alarm.
Definition: OpenNetStreamDefine.h:71
Low battery voltage alarm.
Definition: OpenNetStreamDefine.h:96
All.
Definition: OpenNetStreamDefine.h:171
Definition: OpenNetStreamDefine.h:227
IO-16 alarm.
Definition: OpenNetStreamDefine.h:114
Area ID.
Definition: OpenNetStreamDefine.h:205
EZOPENSDK_LogLevel
Definition: OpenNetStreamDefine.h:225
Definition: OpenNetStreamDefine.h:136
Definition: OpenNetStreamDefine.h:141
PIR alarm.
Definition: OpenNetStreamDefine.h:74
Token's expire time.
Definition: OpenNetStreamDefine.h:208
MessageType
Definition of message type.
Definition: OpenNetStreamDefine.h:23
Definition: OpenNetStreamDefine.h:139
Reconnection failed.
Definition: OpenNetStreamDefine.h:124
ConfigKey
Config Type.
Definition: OpenNetStreamDefine.h:215
Configure log level,see #OpenSDK_LogLevel.
Definition: OpenNetStreamDefine.h:219
Curtain alarm.
Definition: OpenNetStreamDefine.h:82
DefenceStatus
Arming and disarming status.
Definition: OpenNetStreamDefine.h:177
int OPENSDK_RESULT
Return value of OPEN SDK , return 0 on success, and return non-0 on failure.
Definition: OpenNetStreamDefine.h:18
_AlarmNotifyType
Definition: OpenNetStreamDefine.h:120
Connecting to EZVIZ exception.
Definition: OpenNetStreamDefine.h:122
Definition: OpenNetStreamDefine.h:142
Definition: OpenNetStreamDefine.h:133
Reconnection succeeded.
Definition: OpenNetStreamDefine.h:123
Arming failed.
Definition: OpenNetStreamDefine.h:40
Smoke detection alarm.
Definition: OpenNetStreamDefine.h:70
Two-way aodio exception.
Definition: OpenNetStreamDefine.h:34
Stay mode, A1 device.
Definition: OpenNetStreamDefine.h:167
Get AccessToken After Login.
Definition: OpenNetStreamDefine.h:209
PTZ control succeeded.
Definition: OpenNetStreamDefine.h:42
Magnetic contact alarm.
Definition: OpenNetStreamDefine.h:69
Motion detection mode.
Definition: OpenNetStreamDefine.h:170
IO-8 alarm.
Definition: OpenNetStreamDefine.h:106
PTZAction
PTZ operation command Normally, hold down the mouse to start, and realse the mouse to stop...
Definition: OpenNetStreamDefine.h:155
Loitering detection alarm.
Definition: OpenNetStreamDefine.h:91
Stop two-way audio.
Definition: OpenNetStreamDefine.h:33
Definition: OpenNetStreamDefine.h:134
IO-1 alarm.
Definition: OpenNetStreamDefine.h:99
Open-close detector alarm.
Definition: OpenNetStreamDefine.h:83
Search recording files.
Definition: OpenNetStreamDefine.h:36
Definition: OpenNetStreamDefine.h:148
Definition: OpenNetStreamDefine.h:226
Magnetic interference alarm.
Definition: OpenNetStreamDefine.h:95
Audio exception detection.
Definition: OpenNetStreamDefine.h:86
Region entrance detection alarm.
Definition: OpenNetStreamDefine.h:93
All.
Definition: OpenNetStreamDefine.h:64
Intrusion alarm.
Definition: OpenNetStreamDefine.h:97
Unattended baggage detection.
Definition: OpenNetStreamDefine.h:87
Play exception, which is usually cased by device offline or network exception.
Definition: OpenNetStreamDefine.h:25
IO-7 alarm.
Definition: OpenNetStreamDefine.h:105
unsigned int iMinute
Minute.
Definition: OpenNetStreamDefine.h:55
Line crossing detection.
Definition: OpenNetStreamDefine.h:77
Platform Data output use UTF-8.
Definition: OpenNetStreamDefine.h:216
struct _STREAM_TIME * LP_STREAM_TIME
People gathering detection alarm.
Definition: OpenNetStreamDefine.h:90
P2P Switch, use to close the P2P.
Definition: OpenNetStreamDefine.h:218
Reconnect exception.
Definition: OpenNetStreamDefine.h:27
IO-10 alarm.
Definition: OpenNetStreamDefine.h:108
Video Tampering alarm.
Definition: OpenNetStreamDefine.h:75
Definition: OpenNetStreamDefine.h:146
Definition: OpenNetStreamDefine.h:49
DefenceType
Arnming and disarming alarm type.
Definition: OpenNetStreamDefine.h:164
Definition: OpenNetStreamDefine.h:132
unsigned int iMonth
Month.
Definition: OpenNetStreamDefine.h:52
Stream header.
Definition: OpenNetStreamDefine.h:196
Away mode.
Definition: OpenNetStreamDefine.h:168
Vedio channel.
Definition: OpenNetStreamDefine.h:188
Message pop up when play ended.
Definition: OpenNetStreamDefine.h:30
Baby cry alarm.
Definition: OpenNetStreamDefine.h:68
Record search failed.
Definition: OpenNetStreamDefine.h:38
IO-2 alarm.
Definition: OpenNetStreamDefine.h:100
IO-3 alarm.
Definition: OpenNetStreamDefine.h:101
IR mode.
Definition: OpenNetStreamDefine.h:166
LoginParamKey
Login the relevant parameter type.
Definition: OpenNetStreamDefine.h:204
AlarmType
Alarm type definition of OPEN SDK.
Definition: OpenNetStreamDefine.h:62
Video loss alarm.
Definition: OpenNetStreamDefine.h:76
Stop playing.
Definition: OpenNetStreamDefine.h:29
Start playing.
Definition: OpenNetStreamDefine.h:28
Parking detection alarm.
Definition: OpenNetStreamDefine.h:89
Stream data.
Definition: OpenNetStreamDefine.h:197
Door bell ring alarm.
Definition: OpenNetStreamDefine.h:80
IO-9 alarm.
Definition: OpenNetStreamDefine.h:107
Definition: OpenNetStreamDefine.h:137
PTZCommand
PTZ control command.
Definition: OpenNetStreamDefine.h:130
unsigned int iSecond
Second.
Definition: OpenNetStreamDefine.h:56
DefenceActor
Definition: OpenNetStreamDefine.h:185
Fast moving detection alarm.
Definition: OpenNetStreamDefine.h:92
Disarmed.
Definition: OpenNetStreamDefine.h:179
Motion detection alarm.
Definition: OpenNetStreamDefine.h:67
Start two-way audio.
Definition: OpenNetStreamDefine.h:32
IO-5 alarm.
Definition: OpenNetStreamDefine.h:103
Playback exception, which may due to receiving data timed out.
Definition: OpenNetStreamDefine.h:41
Object removal detection.
Definition: OpenNetStreamDefine.h:88
Water leak alarm.
Definition: OpenNetStreamDefine.h:72
Definition: OpenNetStreamDefine.h:138
unsigned int iDay
Day.
Definition: OpenNetStreamDefine.h:53
Face detection alarm.
Definition: OpenNetStreamDefine.h:79
IO-12 alarm.
Definition: OpenNetStreamDefine.h:110
PTZ control exception.
Definition: OpenNetStreamDefine.h:35
Definition: OpenNetStreamDefine.h:143
Definition: OpenNetStreamDefine.h:158
IO-4 alarm.
Definition: OpenNetStreamDefine.h:102
Force armed, A1 device.
Definition: OpenNetStreamDefine.h:182
IO alarm.
Definition: OpenNetStreamDefine.h:98
Redirected domain name.
Definition: OpenNetStreamDefine.h:207
Definition: OpenNetStreamDefine.h:147
PIR event.
Definition: OpenNetStreamDefine.h:65
Emergency button alarm.
Definition: OpenNetStreamDefine.h:73
End mark.
Definition: OpenNetStreamDefine.h:198
Sudden scene change alarm.
Definition: OpenNetStreamDefine.h:84
enum _AlarmNotifyType AlarmNotifyType
IO-13 alarm.
Definition: OpenNetStreamDefine.h:111
unsigned int iHour
Hour.
Definition: OpenNetStreamDefine.h:54
PTZ control failed.
Definition: OpenNetStreamDefine.h:43
Definition: OpenNetStreamDefine.h:144
Definition: OpenNetStreamDefine.h:140
The output of the stream data is transferred to the package for video storage.
Definition: OpenNetStreamDefine.h:217
Record search ended (do not enable now)
Definition: OpenNetStreamDefine.h:37
Camara offline alarm.
Definition: OpenNetStreamDefine.h:81
Baby cry mode.
Definition: OpenNetStreamDefine.h:169
The version information of the login page.
Definition: OpenNetStreamDefine.h:206
Definition: OpenNetStreamDefine.h:135
Definition: OpenNetStreamDefine.h:157
Reconnect,auto-reconnect at real-time stream playing.
Definition: OpenNetStreamDefine.h:26
Arming succeeded.
Definition: OpenNetStreamDefine.h:39
IO channel.
Definition: OpenNetStreamDefine.h:189
unsigned int iYear
Year.
Definition: OpenNetStreamDefine.h:51