Closed g40 closed 8 years ago
Can you check the value of err before doing the move?
You can get this error if you cannot connect to the camera (maybe the username, hostname or even the TCP Port are incorrect) I've added some extra code to the example to exit if there is an error.
Moving on from there in theory if you had a static (fixed) ONVIF camera with no PTZ it may connect and then crash in the same place. There should be some form of "if camera has PTZ then send absolute move".
I will see if I can add one as the RPOS project (ONVIF Camera Server) does not implement PTZ
seems ok with a static ONVIF camera (RPOS) so could have been your IP Address, username, hostname or Port (have added in example to set port in example,js)
Thanks Roger, this is now a lot more stable. I'm going to close this issue.
Running the example using node I get this exception right at start up. It appears to be generated as a result of the initial call to absoluteMove below. How should the profileToken have been set up?
though the asynchronous callback system makes this a little difficult to trace.
Any thoughts on this?