EventNotificationAlert message with heartbeat information (when there is no alarm is triggered) in XML format
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"> <ipv6Address><!--dep, xs:string, device IPv6 address--></ipv6Address> <portNo><!--opt, xs:integer, device port number--></portNo> <protocol><!--opt, xs:string, protocol type for uploading alarm/event information, "HTTP,HTTPS"--></protocol> <macAddress><!--opt, xs:string, MAC address--></macAddress> <channelID><!--dep, xs:string, device channel No., starts from 1--></channelID> <dateTime><!--req, heartbeat uploaded time, format: 2017-07-19T10:06:41+08:00--></dateTime> <activePostCount><!--req, xs:integer, heartbeat frequency, starts from 1--></activePostCount> <eventType><!--req, xs:string, for heartbeat, it is "videoloss"--></eventType> <eventState> <!--req, xs:string, for heartbeat, it is "inactive"--> </eventState> <eventDescription><!--req, xs: string, description--></eventDescription> </EventNotificationAlert>
For network camera or network speed dome with the version 5.5.0 and lower, the heartbeat frequency is 300 ms per heartbeat.
For network camera or network speed dome with the version 5.5.0 and higher, the heartbeat frequency is 10 s per heartbeat. If no heartbeat received for continuous 30 s, it indicates that the heartbeat is timed out.
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.com/ver20/XMLSchema"> <ipAddress>10.17.133.46</ipAddress> <portNo>80</portNo> <protocol>HTTP</protocol> <macAddress>44:19:b6:6d:24:85</macAddress> <channelID>1</channelID> <dateTime>2017-05-04T11:20:02+08:00</dateTime> <activePostCount>0</activePostCount> <eventType>videoloss</eventType> <eventState>inactive</eventState> <eventDescription>videoloss alarm</eventDescription> </EventNotificationAlert>