Is there a general API call that I can make to get the handle of the image or video stream coming from the webcam and replace it with my own image or video so that applications interact with the camera (for example, MSN / Skype / Yahoo IM) will see mine image instead of what the camera captures?
Ideally, I try to solve this in a general way, regardless of the device or device interface (through the standard webcam stack that all these applications use if such a thing exists).
This is a security application that should be able to disable webcams on clients other than specific targets. I can stop and start the image capture devices using the code, but ideally I would prefer to leave the device turned on and replace the captured image with graphics that tell the user why they cannot use the camera.
source share