I want to use an IP Cam from D-Link (DCS-942L) with Octoprint and struggling with the stream url. According to support of D-link the stream url is: http://XXX.XXX.XXX.XXX/video/mjpg.cgi?user=[user]&password=[password].
Unfortunatly it doesn't work. After pasting this command to the stream url settings and saving I get that black window that tell me that the webcamstream couldn't be loaded. But if I click on the blue link mentioned in the black window I can see the stream of the IP Cam. And from now on the stream is working. Probably because of coockies. But what do I have to do to get it direcly working from opening Octoprint. Is there a hint how to adapt the url stream? Are maybe further settings required? I'm using the last Octoprint version. By the way the situation is the same when I'm using the smartphone.
Thanks in advance
It's probable that OctoPrint is adding a nonce. So it may be decorating the end of the URL with something like ?t=2342452 in an attempt to defeat browser caching. Perhaps others know more about this.
User is most likely "admin", password can be obtained from mobile app,
Note that the stream may work in some browsers, and not others.
On MacOS, I found it works on Safari, but not Edge (Chromium)
Had similar experience on Windows, can't remember which ones worked and which ones did not. TLDR: try multiple browsers
Also, if the password is empty, you may have to still keep the colon in the URL (again try diff browsers).