-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreatePullPointSubscription #8
Comments
Unfortunately I've got no idea...I migrated the WS to CXF in order to be able to use WS-Notifications but then I dind't find the time to play with it.. |
But do you have some ideas about how to catch the actual pan and tilt position? |
I think you should first call another ws to ghet those params but I don't know which one |
Reading here: https://support.videotec.com/hc/en-gb/community/posts/203483685-How-can-I-get-the-current-position-of-an-integrated-PTZ- |
It's my fault....I have not seen the full response. It answer me the pan, tilt and zoom position. So I have just to convert between spaces <tt:PanTilt space="http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace" y="-0.589999974" x="-0.899999976"/>
<tt:Zoom space="http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace" x="0.727272749"/> The goal is to create a FOV rendering. So I think I can arrange this kind of service directly inside the onvif library, One could provides a callback/listener to be invoked when data changes. I will work on it next days... |
Great! 👍 |
I am playing with your example (WsNotificationTest) about the capability to register to the events generated by the camera. I am was not able to create a pull point subscription, I suppose, for a malformed request. Playing with soapUI I found that using a request like the one generated by the stubs into the library generate an error of type "failed to parse topic expression", If I try to manually change the SOAP request it seems to work. Here follow the two requests:
This generates a failure:
This one instead seems to work:
Have you got any news or idea about it?
I need to read the actual pan and tilt position of the encoder so I am assuming that the events subscription is the proper way to go, but I am not sure of this. Do you have any hints about it?
The text was updated successfully, but these errors were encountered: