obs-virtual-cam icon indicating copy to clipboard operation
obs-virtual-cam copied to clipboard

force stop / restart VirtualCam streams

Open ahmadnassri opened this issue 4 years ago • 3 comments

sometimes when starting OBS, VirtualCam fails to start, the only message I see is "Failed to start output"

I suspect this is due to some of the automation scripts I got where occasionally chrome/zoom would start, then quickly turn off and then start again soon after in certain conditions ... they then fail to display the camera, and if I restart OBS VirtualCamera fails to start with the message above .... I'm guessing the VirtualCam is not able to get a lock on the write stream due to many clients attempting to read from it at the same time??

is there a method to stop the VirtualCam subprocess / or to kill / reset the write stream?

thanks.

ahmadnassri avatar Feb 25 '20 04:02 ahmadnassri

Hi, have you resolved this? I am having the same issue. Thanks.

TheAmazingDani avatar Jun 25 '20 01:06 TheAmazingDani

I have not. when this happens, seems like chrome is getting an exclusive lock on the virtual device, so killing the chrome instance entirely is the only way to fix it (no background process)

same with zoom, but less frequently occurring with zoom

ahmadnassri avatar Jun 25 '20 04:06 ahmadnassri

Would be nice to have a workaround other than closing all chrome instances

deurk avatar Oct 20 '20 13:10 deurk