Hello,
I have a problem where the operating system is losing the camera at random intervals, perhaps due to an intermittent signal loss. Our temporary solution is to have vvvv exit and enter fullscreen mode to refresh the DirectShow feed. This regains the camera signal.
However, instead of doing this on a time interval, I would like to know if there any way to reliably “Detect” a device loss within vvvv. Is this possible?
I have not found a way to do this, as the device enumeration seems to only change when the video patch is initialized or when exiting fullscreen.
Or would we have to write a custom plugin that looks at device changes?
http://msdn.microsoft.com/en-us/magazine/cc164112.aspx
From the MSDN Direct X page, see cleanup:
Device change
InvalidateDeviceObjects
DeleteDeviceObjects
InitializeDeviceObjects
RestoreDeviceObjects