Removed the 'factory.' from the factory_close and factory_destroy API calls, since as per the documentation ( https://s3.amazonaws.com/amcrest-files/AMCREST_CGI_SDK_API.pdf ) the action for close and destroy is simply 'close' and 'destroy' without the 'factory.' prefix.
Removed the 'factory.' from the factory_close and factory_destroy API calls, since as per the documentation ( https://s3.amazonaws.com/amcrest-files/AMCREST_CGI_SDK_API.pdf ) the action for close and destroy is simply 'close' and 'destroy' without the 'factory.' prefix.