Skip to content

Conversation

@jeyrb
Copy link
Contributor

@jeyrb jeyrb commented Nov 21, 2020

This is working on my hik camera now.

Rather than clone all the existing code for get and put, I've refactored a new method that will make any http call. It can also make a PUT request using XML from a previous GET request and overriding based on keyword args, so very easy to create new PUT calls ( so long as still able to find an ISAPI doc pdf!)

If you like this, don't merge but let me know. I'll add tests, and refactor the existing get/put to use the new call_service

@mezz64
Copy link
Owner

mezz64 commented Dec 1, 2020

I'm opening to making a change like this. My main concern is covering the edge cases though. There have been quite a few tweaks included here and there to work with different camera behavior and I would want to make sure those are retained.

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

Successfully merging this pull request may close these issues.

2 participants