Hello,
I am developing an application to pilot PTZ cameras. Several people can see the cameras stream and their orientations on a map. The problem I have is the following: because some of them can pilot the cameras, I want to know if the new orientation can be given by the cameras themselves, to know it when it is modified or during the initialization of the application.
Currently, I didn’t found what I was searching in ActiveX documentation or in Onvif services.
Any help is appreciated, thank you.
To read the positioning information that is setup in the Management Client you can read the values using the Configuration API.
These values does not update when the camera is moved using PTZ commands.
In the PTZandPresets sample you can see how it is possible to get the “absolute” position on camera that support this.
It might with this information be possible to calculate an actual real-time orientation.
If you look on the Maps implementation in Smart Client you can see that orientation as a updated information is not implemented, it does not exist. But perhaps this is an excellent candidate for future functionality.