mikedmor / OctoPrint_MultiCam

Extends the Control tab of OctoPrint, allowing the ability to switch between multiple webcam feeds.
45 stars 19 forks source link

Is it possible to support IP cameras that that require username/password? #30

Closed JimThatcher closed 1 year ago

JimThatcher commented 3 years ago

Many standalone IP cameras require authentication to access the stream. I can access the stream using http://username:password@cameraipaddress/stream in a browser. But if I use that URL in the MultiCam configuration the video does not show. Checking in the debugger I find that Chrome has disabled support for embedded links to URLs with the username/password included. Can the plugin be changed to support adding username and password, which get sent in an Authentication header instead of in the URL?