I'm getting a bit frustrated trying to modify OSD using the http api. The camera is a Dahua SD42212T-HN running the 2.600 firmware.
It all works fine in manual tests from a browser or using curl (7.54, on MacOS). But I want to have a script, small app or something on a small IOT device that reads environmental data from its sensors, formats it and writes it as OSD.
I have not been able to find a way for the camera to accept http api calls with anything less than Digest authorization. I would be happy with basic auth or no auth at all (it's behind a serious firewall and I'm using the camera's IP restrictions). But Digest auth would mean adding an MD5 crypto module to the IOT device, which I'd prefer to avoid if possible.
There is a "none/basic/digest" setting for rtsp streaming, but I can't find a similar setting for api calls.
Does anybody have any suggestions?
Alternatively, is there another way of modifying OSD, perhaps via telnet/ssh? (I'm also having problems with ssh access, but that's another story).
Thanks in advance
Sean