Hi,
I need to be able to use external physical buttons on a UVC web cam with Media Foundation (ideally). When pushed, the external button will need to be detected so the application I'm working on can save the current camera framebuffer
image. I'm using C++ with Win32 APIs.
DirectShow has the ability to access an external button via IAMVideoControl::SetMode and using VideoControlFlags + VideoControlFlags_ExternalTriggerEnable, but I can't seem to find the equivalent functionality when using Media Foundation.
Is my only option to rewrite everything in DirectShow (which is deprecated, I think) or is there a way to get things working with Media Foundation? Also, I need support for Windows 7 and up.
Thanks!