Skip to content

not working with my cameras but found a fix #4

Description

@bohix

Hi,
Your snapshot.php script is not working as is with at least wanscam, imou, d-link ip cameras.
But if you add
curl_setopt($curl_handle, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
right before the lines
curl_setopt($curl_handle, CURLOPT_USERPWD, [...]
then is works very well.
Thanks and regards,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions