Skip to content
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

Incomplete preset list #175

Closed
bartbutenaers opened this issue Nov 13, 2020 · 1 comment
Closed

Incomplete preset list #175

bartbutenaers opened this issue Nov 13, 2020 · 1 comment

Comments

@bartbutenaers
Copy link

Dear,
I have an open-source Onvif integration for the Node-RED IOT framework, which is build on this onvif library.
I got yesterday a Github issue from somebody who has two problems with problems with his camera:

  1. After some time getPresets suddenly starts return an empty array.
  2. When a new preset has been added via the native app/webinterface of the ip camera, that new preset is not available in the output of getPresets.

So my first thought was that this library perhaps did some caching, which ran out of sync with the camera. But when I debug it, then it seems to me that there is no caching. Which means a request will be send every time to the camera. Can you please confirm that this is correct?

If so, then I think there is an Onvif implementation bug in his Chinese camera...

Thanks!!!
Bart

@agsh
Copy link
Owner

agsh commented Dec 17, 2020

Yes, caching is present in the cache, you need to call again getPresets. Calling this method can be failed by your cam, sorry(

@agsh agsh closed this as completed Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants