Version 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.