-
Notifications
You must be signed in to change notification settings - Fork 240
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
Do services need to have capabilities? #207
Comments
I now take into account in my code all the above situations, and everything seems to be functioning properly for all users (that had reported camera problems with the latest version). So I will close this issue... |
Hi there You can read the XML definitions with this link [http://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl] So it is now a two step method needed. |
We could automate this and generate a load of differenr getServiceCapabilities ONVIF requests for each event in GetServices. |
Hi @RogerHardiman,
I understand that. But by looking at the Which means a request is send, with a parameter to include the capabilities: So I would expect the capabilities to be in the response message: So it seems to me that the HiSilicon cam does it like that (see second screenshot in my original question above). But then I don't understand why the Reolink cams don't have capabilities per service...
So that would result in extra data to be loaded, compared to the Perhaps it might be useful to introduce a new boolean option so developers can activate or deactivate automatic calling of getServiceCapabilities per service, to avoid an overload of requests for use cases that don't require this data? |
Hi there We have a design decision now. We can either say "this camera is rubbish" and leave the library like it is. I don't have time to implement anything like this myself at the moment, unlesss I hit a buggy camera on one of my own projects. But if someone wants to implement the fix, I'd happily review a Pull Request and merge it. We've got so many cheap cameras on the market now that at some point we have to work with what our customers and end users have, rather than tell them to go and buy a camera listed on the ONVIF web site. |
Yes indeed the number of cheap camera's is increasing, which probably won't implement the entire Onvif spec correctly. And if we decide to stick to the standard, we won't be able to support all those users. Which would be a pitty... I will add this to my (long) todo list. But probably won't be soon. So if anybody else has time meanwhile, please be my guest! |
Hi guys, Got a complaint yesterday that (for TP-Link Tapo C200 camera's) my application didn't detected the services correctly. So for these camera's all the XAddr fields contain the same content.... |
Having the exact same "service" field may be correct. As the XML contains the full ONVIF command and namespace the http server can easily work out what the ONVIF command is. So where you put "no service name", actually they do look like Service URLs and they look fine but just happen to be all the same. |
Hey Roger, |
So is the C200 working fine with the library now? Just checking as I was thinking of getting one for a little indoor camera |
Yes he told me it was fine now. I was doing an incorrect check on the namespace/XAddr fields, but after fixing that bug in my code it seemed to be fine. Was only mentioning it above for completeness... |
Did we still need to do something for the cameras mentioned in the original post? I've lost track of where we are with this problem report |
Hey Roger, |
thanks for the update. If there is anything you want to push down into the library, we are always happy to receive contributions. |
Hey guys,
I'm having quite some troubles with users since I upgraded to the 0.6.5 version, and I 'think' it is related to this pull request. I created a workaround for most issues, but it would be nice if you could give me some feedback about below question. Just to make sure that I interpret the data correctly ...
At the moment, I am getting a mix of different configs:
My (older) Panasonic camera's only have capabilities (and no services), like they always did:
Another user has an unknown HiSilicon camera. This one has services (and undefined capabilities), and those services in turn have capabilities:
And yet another user has a ReoLink RLC-410W camera, which has services but those services have no capabilities:
Is case 3 normal? I would expect that all services have capabilities? Or is that not required perhaps?
Thanks again !!!
Bart
The text was updated successfully, but these errors were encountered: