I’m writing a Windows application that allows the user to select a webcam, displays the video stream, and captures occasional images from the stream. I’ve seen that MS has attempted to push the developer community to adopt various methods for doing this–DirectShow, WMF, etc, but it’s unclear to me what is the best way to handle webcams in 2024.
Can someone please point me to a current library, DLL, etc? Thanks!
I’ve written this using the Aforge.NET, but have some issues connecting to devices, especially (but not exclusively) when switching webcams. Aforge.NET looks like it was last updated a decade ago, and so I’m wondering if there’s a more current/better option…or is AForge.NET still the best way?
1