Sharing webcam across 2 docker instances?

I am running 2 instances of octoprint on a Raspberry using docker containers so I can use 2 different printers so I can do

ender.domain.com
snapmaker.domain.com

All is working just fine and I can acess the stream and snapshot on on just fine. I want to acces the stream and snapshot of one instance in the other.

I am able to get the snapshot no problem as it is an absolute url. I cant do that for the stream since it is relative. I have read that you can configure mjpeg streamer to alter the URL but that is out of my depth. Any help would be greatly appreciated

You can just enter the absolute URL for the stream, that would work too. It doesn't have to be relative, but it is for convenience.

1 Like