Answer the question
In order to leave comments, you need to log in
Authorization on the IP camera through PHP?
Question for backfilling, there are 2 D-Link IP cameras, I get a link to the video stream in MJPEG and display it in the admin panel. So the question is, the camera needs authorization, it goes through a link of the form: http://login:[email protected]/video.cgi
Until I follow this link with my hands, the camera does not start, after clicking on it and authorization, it successfully sends the video stream.
Question: How to pass authorization on the camera in automatic mode using PHP?
Answer the question
In order to leave comments, you need to log in
Obviously, when you log in, you are given a cookie, which is automatically transmitted by the browser on the next request. You need to emulate a browser: get it, save it, and transfer it.
Perhaps the authorization scheme is a little more complicated - you need to open the browser console and figure out which requests are sent, with which headers and what content.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question