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

A few fixes and extensions #6

Merged
merged 2 commits into from
Oct 20, 2022

Conversation

petterreinholdtsen
Copy link
Contributor

Here is some code extensions and bug fixes that you might be interested in. I have also included some rebased diffs from two forks of your code on github because they seemed interesting. One does a basic dump of returned data from the camera and the other allows access to multiple profiles.

My code adds some extra fields that I was interested in as well as a couple of extra calls (including get/set NTP).

I've also done some reworking of your time logic to better reflect UTC time vs. localtime and produced a utility to do time sync to cameras.

The code is based on a patch from Brian D Scott, with some indentation cleanup. I did not complete the indentation cleanup, as it is unclear to me what the intended indentation for this project is.

Fixes #3.

@petterreinholdtsen
Copy link
Contributor Author

Note, this patch conflict slightly with pull request #11, as both fixes the install location for the shared library and a missing newline at the end of a cmake file.

Here is some code extensions and bug fixes that you might be interested in. I
have also included some rebased diffs from two forks of your code on github
because they seemed interesting. One does a basic dump of returned data from
the camera and the other allows access to multiple profiles.

My code adds some extra fields that I was interested in as well as a couple of
extra calls (including get/set NTP).

I've also done some reworking of your time logic to better reflect UTC time vs.
localtime and produced a utility to do time sync to cameras.

The code is based on a patch from Brian D Scott, with some indentation cleanup.
I did not complete the indentation cleanup, as it is unclear to me what the
intended indentation for this project is.

Fixes sr99622#3.
@sr99622 sr99622 merged commit 9f5879f into sr99622:master Oct 20, 2022
@sr99622
Copy link
Owner

sr99622 commented Oct 20, 2022

onvif-time and onvif-util use getopt for command line parsing, which is not compatible for windows. These files have been removed

@petterreinholdtsen petterreinholdtsen deleted the issue-3-fixes branch October 20, 2022 05:16
petterreinholdtsen added a commit to petterreinholdtsen/libonvif that referenced this pull request Oct 20, 2022
petterreinholdtsen added a commit to petterreinholdtsen/libonvif that referenced this pull request Oct 20, 2022
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.

A few fixes and extensions
2 participants