Amcrest

Latest version: v1.9.8

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

1.5.3

Remove object addresses from log messages so they don't all look unique.

1.5.2

Fix snapshot channel parameter.

Default snapshot channel to None, in which case, do not send channel parameter in URL.

1.5.1

Fix improper retrying, especially when using Digest Authentication.

No longer do retrying at the urllib3 level via an HTTPAdapter, since it won't properly handle handle errors after the initial Digest Authentication exchange. Rather bring back the retry loop in the command method. Also don't retry if error 401 is returned when trying auth protocols in _generate_token method.

1.5.0

Errors during initialization are no longer fatal.

- Allow AmcrestCamera object (and hence Http object) to be created even if communication errors occur. This allows user to use the object to attempt communicating with camera later to implement an error recovery scheme.

- retries_connection == 0 means don't attempt retries. I.e., only use default value if retries_connection == None.

- Add some debug messages to help user diagnose communication problems.

- For most commands do not use stream for request to centralize error handling. Only use stream for those few commands that need it, and add error handling to those when using raw.data.

- Remove retry loop in command method. It's redundanct and unnecessary.

1.4.1

- rtsp_url, storage_all, storage_used, storage_used_percent & storage_total caught comm errors. They should be passed up to let app deal with them.

1.4.0

- storage_used_percent property now only sends one command to camera.
- Add storage_all property that returns, as a dictionary, the same values as storage_used, storage_total & storage_used_percent properties, but by only sending one command to camera.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.