Hi, we are retrieving the status about cameras with "http://IP:7563/recorderstatusservice/recorderstatusservice2.asmx?wsdl", however we cannot see the "video lost" status, can you please tell us where can we retrieve it???. Thanks.

What do you consider “video lost” to be?

With analog video encoders, there is often an event the camera can send us to tell us “I lost the analog feed on channel X”. They usually keep sending us black/blank images sometimes with a “No video” message in the middle of it, but technically are still connected and still sending us data.

Is that what you mean? Or do you want a “connection lost” type of status indicating the Recording Server is unable to reach the camera or otherwise the camera is not sending us any video when we ask for it?

If you call the “GetCurrentDeviceStatus” method, you should get back an array with status information in the form of several boolean values. I have an example of doing this in PowerShell here: https://gist.github.com/jhendricks123/eb92077506534981b9668855fe476c15

And here’s an example showing the various properties on the device status object:

Get-RecordingServer | Get-VmsDeviceStatus -DeviceType Camera
 
Motion             : False
Recording          : False
DbMoveInProgress   : False
ErrorOverflow      : False
ErrorWritingGop    : False
DbRepairInProgress : False
DeviceId           : fc801521-dcab-46d2-8468-2f4808c4a324
IsChange           : False
Enabled            : True
Started            : True
Error              : False
ErrorNotLicensed   : False
ErrorNoConnection  : False
Time               : 5/24/2021 11:10:35 PM

Hi, yes, we need the first option. when the “No Video” message. About the second part, i have taken some properties (Recording, ErrorNoConnection, etc), however we need to have the first, where can we take it??? Thanks

Those will come through as events - you’ll need to use MessageCommunicationManager and subscribe to receive neweventsindication. There might be a more specific message ID but I’m mobile right now.

You also need to explicitly enable the ​video loss event on the hardware/camera in the events tab in management client.