Camera properties

I have created my own plugin. How to get the camera details like ip,status (active or not),camera id programmatically through plugins?

The properties belonging to the camera is best explored using the Config Dump tool plug-in sample.

The IP of a camera is not a property the Smart Client uses itself but the GetIPAddressRequest method shown in the PlaybackUser sample can be used also in a plugin.

Status of a camera is not a property.

Ok thanks,i got the camera ip now.

I said status is not a property, but I did not mention what you could do.

The StatusViewer gives an example on how to monitor if there is camera errors or similar and thus monitor the status. The same functionality can be used in a plug-in.

Hi Kowsalya Mani, can u tell me how to get camera ip?

which plugin sample are you using now?

You can use Configuration API, or the message: GetIPAddressRequest. The PlaybackUser sample uses this message.