Configuration of Webcam with WLAN and authorization

I am using a webcam INSTAR, which has WLAN connection and needs authorization. How can I give the authorization in the config?
Only web address and port does not work.
Thanks for any idea.

Comments

  • I hope the cam uses digest/basic authentication where a standard login/password window pops up. You can include these like this:
    http://username:password@example.com/

    But make sure to use them on the mjpg/jpg url and not main webpage e.g. when right clicking on image and open in new tab you should see it easily. Then add user:password@ to url and try that.
  • edited January 2023
    I modified the URL to http://username:password@myIP:myport, but I do not receive a video. The URL works on my browser on the remote system, from where I also connect to the repetier server. But the firefox browser opens a dialog with the username/passwort prefilled and I have to press OK.
    Have I to install additional codecs, ffmpeg on my raspian install?
  • As I said the main page is often just a html page that then loads the content and will not work. You need the url of the stream! And also stream must be mjpg format - many newer external webcams use rtsp which we can not read.

    Open in browser, right click and select "Inspect" or what it is named in your language to get to debug tools, switch to network and reload page. Now you see all files being loaded and format. One of them is the video which is the url you want plus uaser/password. And hope format is mjpg.
Sign In or Register to comment.