gdombiak / OctoPod

Free open source client for OctoPrint
Apache License 2.0
225 stars 42 forks source link

Multicam not supported #656

Open Tezzatron81 opened 11 months ago

Tezzatron81 commented 11 months ago

Multicam seems not to be supported for the newest version of octoprint. It used to show both my cams but after an upgrade it no longer does. Hopefully an update is coming soon

jim-roberts commented 9 months ago

I believe this is an issue with the new camera stack. I have an instance without the new camera stack and both cams are available whereas with the new stack only one cam is available.

Tezzatron81 commented 9 months ago

I believe this is correct. It would be nice to have this fixed. But im not holding my breath, and another app is gonna get the same results i fear.

gdombiak commented 9 months ago

Hey guys,

I've been running multiple tests with the new Octopi's camera stack and what I learned is that streaming in OctoPod will work depending on the camera you use and how the stack was configured. Certain hardware+configurations do not work but same hardware with another configuration does work.

Would you mind sharing your camera & configuration to see if that looks like any of my tests?

Thanks, Gaston

CaptainRedHat commented 9 months ago

@gdombiak I have a hardware config that doesn't work. I'm running octoprint 1.9.2 on a Raspberry Pi 3. I'm using the RPi Cam version 1 as my main camera and a Microsoft LifeCam USB webcam as my second camera. Both cams work fine in the WebUI. When I added my octoprint server to OctoPod, I noticed that it displayed the Raspi Cam for a second or two before switching to the USB webcam and from that point on, I'm unable to switch between the cameras. What config info are you looking for?

Devirex commented 9 months ago

Same here, I have the new camera stack serving two different cameras. Both are MJPEG strems on different ports and displaying fine with Safari when going on the direct link. The octopi web interface is also working in safari and displaying both streams with the help of the multicam plugin very smooth. Unfortunately the Octopod app is only showing the latest configured stream in multicam.

Fix: Adding a third camera will show two cameras in the octopod app, so it seems like there is something wrong with the indexing of the streams

Tezzatron81 commented 8 months ago

@Devirex did u actually set up a 3rd camera to use or just as a dummy so to speak?

Tezzatron81 commented 8 months ago

Ok so it seems the app doesn't pick up the default cam, so like @Devirex said, just add another webcam in the multicam pluging with the default camera address. Not an actual physical camera.

jim-roberts commented 2 months ago

"Adding a third camera" in Multicam " will show two cameras in the octopod app, so it seems like there is something wrong with the indexing of the streams"

I can confirm this gets around the issue. I renamed the 1st instance , which you can't delete, to "Don't Work" :) and cleared the URL fields. Then added another instance (3rd) with the same URL content as the 1st previously contained and Octopod was then able to see both cameras.

Is this considered a Multicam issue?