I tried one of sample DirectShow based virtual camera available at https://github.com/roman380/tmhare.mvps.org-vcam
I am able to compile and build and its working fine in browsers(Chrome and Edge).
But in case of Desktop app like Zoom and Team virtual camera is getting recognized but not showing any frames. On selecting this virtual camera only black screen is visible not the expected output.
I tried to debug after reading Debugging DirectShow Filters and How to debug c++ DirectShow filter
I added DbgLog()
in constructor of output pin
class like
DbgLog((LOG_TRACE, 3, TEXT("test string")));
And set file path in LogToFile
field of Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectShow\Debug\Filters.dll
But I am not seeing any log string in vcam-log.txt
. What I am missing or how to get log string in that file?