Is Multicam compatible with the new Stack? New stack is working and can see both camers with http://octopi2:8081/stream and http://octopi2:8082/stream (with OPTIONS="--http-listen=0.0.0.0"). Also an wget on octopi works. Multicam plugin shows:
**Webcamstream nicht geladen**
It might not be configured correctly or require authentication. You can change the URL of the stream under "Settings" > "Classic Webcam" > "Stream URL". If you don't have a webcam you can also just disable webcam support there.
Aktuell konfigurierte Stream-URL: http://octopi2:8081/stream
This is a new installation with new camera stack. On my older installation I got multicam running with the old camera stack.
I have the solution. Before I've searchg hours to get it. I thought the haproxy.cfg will be automaticly changed to use two webcams when using the new camera stack. But it isn't. It seems the multicam plugin need the haproxy. Using a direct URL does work.with multicam. After editing the haproxy.cfg, multicam working.
I think for more than one camera, you still have to change the haproxy.cfg, because only port 8081 (the first camera) is used in haproxy. For the second camera you need some entries for Port 8082 and /webcam2/.
I've configured in multicam plugin the following URLs:
For Webcam1:
/webcam/?action=stream
/webcam/?action=snapshot
For Webcam2:
/webcam2/?action=stream
/webcam2/?action=snapshot
http-listen is set to "0.0.0.0" for both camera configs, the Port differs: 8081 for the first camera and 8082 for the second camers
OctoPi ships with one camera configured out of the box. The streamer uses port 8080, and haproxy is configured to serve this under /webcam/, and it is not accessible just with the port.
For adding other cameras, you can either:
Configure http-listen="0.0.0.0", and address each camera with it's respective port (8081, 8082 etc. whatever you set it to). Downside here is you have to use a fully qualified URL including IP address/octopi.local etc. eg. http://192.168.1.100:8081/?action=stream which means that if this changes, you have to update your configuration. Fine for many, can be an inconvenience.
OR, you can configure haproxy by duplicating the rules for /webcam/ & 8080. Then you don't need to touch http-listen, and you can access the cameras just with the relative URLs /webcam2/ or whatever you set it to. I prefer this option.