Question / Help New device added in device list after disconnect instead of switching to it

SuperDoggered

New Member
I am wondering why OBS adds my webcam twice (doesn't switch to new one) under the video capture source after the camera gets disconnected.
Logs: https://obsproject.com/logs/t-RihgqbI7b66ouT
Screenshot attached.
Camera in question: Logitech C922

Some background to this issue:
I'm trying to add a secondary webcam over usbip (USB sent over IP from raspberry PI).
But I've seen similar issues even with regular USB devices.

In ubuntu linux OBS when I disconnect the webcam from raspberry PI and reattach it, it switches to it instantly and everything runs as expected.
But in windows often when USB port is changed, new device appears in the device list.
 

Attachments

  • 91754947_653135628859399_6585433613624410112_n.png
    91754947_653135628859399_6585433613624410112_n.png
    6.8 KB · Views: 28
It has to do how windows identifies devices connected to usb ports. For the in-depth read, brace yourself.

tl;dr If a device doesn't have a unique identifier to give windows, then the only identifier that can be used is the generic identifier the device gives (i.e. the model of webcam), with an extra string tied to the specific usb port the device was plugged into. Basically, for C922's, the only way to keep things straight is to make sure you plug the same camera into the same port (including if you're dealing with multiple cameras -- it manages to keep things straight even with my 5 C922's).

I cannot speak to the way in which Linux handles this situation.
 
Back
Top