r/streaming • u/Journey_Mindfulness • 4d ago
❔ Question Two Camera Setup
I'm in the process of trying to add a kitty cam for my stream. However, I can't seem to get two webcams to work. One works, but then the other one will constantly disconnect. I feel like I'm doing something really wrong because I've seen it so many times.
I do use OBS if that makes a difference.
2
Upvotes
1
u/Arcsane 3d ago edited 3d ago
What sort of cameras and motherboard are you using? You might be overloading your USB bus.
Inside your computer all your USB ports connect to one or more USB root hubs going back to a shared controller, meaning multiple ports are usually connected to the same controller and share it's available bandwidth. If you're using a pair of USB 3 cameras on a USB 3.0 5 Gbps controller, and both are at high settings, they'll compete for bandwidth and the second one will keep getting kicked off. If you're working with a desktop, most desktop motherboards have more than one controller these days - though figuring out what ports go where might require using something like USB Device Tree Viewer (https://www.uwe-sieber.de/usbtreeview_e.html) and connecting things to see what controller they show up under in the list. Basic idea if you want multiple high bandwidth things on different controllers when possible. Ports that are further apart (eg front and rear) are more likely to be on different controllers, and ports that are different speeds will usually be on different controllers (barring some exceptions like 2 lane connections) - so usually say a 5 Gbps port (teal/blue) will be on a different controller than a 10 Gbps port (red) if your motherboard has a mix of both.
If you don't have multiple controllers on your system, try dropping the camera resolutions so they're using less data and less likely to clog up your USB bus and knock each other off.