2018-12-04, 09:59
I think the "getImagesSnapshot" function in allcameraplayer.py and camerapreview.py needs to be adjusted so digest authentication is made possible.
http://docs.python-requests.org/en/lates...ntication/
Here is some information, and example code. But my knowledge op Python fails to think of something and implement it successful. My thought is to allow a username and password for generic camera's and use this info to add digest authentication.
My camera URL for snapshots is http://192.168.1.43/cgi-bin/snapshot.cgi?chn=0 and it then comes with an popup box for login. I cannot provide the user and pass in the URL. I think this is not possible with digest authentication.
Maybe can someone write the code? I could test if it works and then create a pull request.
http://docs.python-requests.org/en/lates...ntication/
Here is some information, and example code. But my knowledge op Python fails to think of something and implement it successful. My thought is to allow a username and password for generic camera's and use this info to add digest authentication.
My camera URL for snapshots is http://192.168.1.43/cgi-bin/snapshot.cgi?chn=0 and it then comes with an popup box for login. I cannot provide the user and pass in the URL. I think this is not possible with digest authentication.
Maybe can someone write the code? I could test if it works and then create a pull request.