Hello Andrew,
I'm working on a project with a USB webcam using the Video->Snapshot Maker sample as a starting point. The sample runs well but I'd like my app to be able to handle the user unplugging the USB webcam, and then be able to reconnect to the video stream when it is plugged back in.
I have not been successful so far with my attempts. I subscribe to the VideoDevice_PlayingFinished event and it fires with the ReasonToFinishPlaying.DeviceLost as expected. But I am not clear on any operations that need to be performed on the existing videoDevice object or videoSourcePlayer at that point, and whether or not there needs to be a new instance of the videoDevice when plugged back in.
I appreciate any guidance, and thank you in advance!
Bob