hotfix/agent v3.3.19 - downgrade to v0.0.14
Description
Pull Request: hotfix/agent v3.3.19 - downgrade to v0.0.14
Motivation and Improvement
The primary motivation behind this hotfix is to address compatibility issues and stability concerns that have arisen with the latest version (v1.0.0) of the github.com/kerberos-io/onvif library. By downgrading to an earlier, more stable version (v0.0.14), we aim to mitigate these issues and ensure the smooth functioning of our system.
Changes Introduced
-
Dependency Downgrade:
- Downgraded
github.com/kerberos-io/onviffrom v1.0.0 to v0.0.14 inmachinery/go.modandmachinery/go.sum.
- Downgraded
-
Code Adjustments:
- Commented out or adjusted code sections that relied on features or functions introduced in the newer version of the
onviflibrary which are not present or stable in v0.0.14. - Specifically, parts of the code dealing with relay outputs and digital inputs have been commented out to prevent runtime errors and maintain functionality.
- Commented out or adjusted code sections that relied on features or functions introduced in the newer version of the
Benefits
- Stability: By reverting to a more stable version of the
onviflibrary, we reduce the risk of crashes and bugs related to the newer, less stable version. - Compatibility: Ensures that our codebase remains compatible with the
onviflibrary, preventing unexpected behavior and errors. - Maintainability: Simplifies maintenance by relying on a well-tested and stable library version, reducing the need for frequent hotfixes and patches.
This hotfix is a crucial step in maintaining the reliability and performance of our system. It addresses immediate concerns while we work on a more permanent solution for integrating the latest features of the onvif library.
Some users complain PTZ is not working with latest version of ONVIF.https://github.com/kerberos-io/onvif/releases/tag/v1.0.0